Foreign Key reference error during updation

Please help!

error link
due to upload limit : here is the error

The UPDATE statement conflicted with the FOREIGN KEY constraint “FK_dbo.Customers_dbo.MembershipTypes_MembershipTypeId”. The conflict occurred in database “aspnet-Zently-20210105074420”, table “dbo.MembershipTypes”, column ‘Id’.
The statement has been terminated.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: The UPDATE statement conflicted with the FOREIGN KEY constraint “FK_dbo.Customers_dbo.MembershipTypes_MembershipTypeId”. The conflict occurred in database “aspnet-Zently-20210105074420”, table “dbo.MembershipTypes”, column ‘Id’.
The statement has been terminated.

Source Error:

Line 80: Line 81: } Line 82: _context.SaveChanges(); Line 83: return RedirectToAction("Index","Customers"); Line 84: }

Many are having same issue !

Fixed the issue… it was just nametypo issue

How did fix this specifically?