You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this issue when you tried to add a new Customer to DB and redirect to Index Page.
So the Model can't reference the MembershipType.
Make sure the data entered into the Customer table are added successfully (all columns).
If the MembershipTypeId column is Null then you have another issue.
See the column's name and look if they differ from the actual model properties.
The text was updated successfully, but these errors were encountered: