ASP.NET Entity Framework Core – one-to-many relationship foreign key constraint blocking PUT request
I have a relationship on project and employee entities. I need have added a one-to-many relationship using Entity Framework Core (one employee have many projects, but one project has one employee). The get, post, delete requests are working fine, but the update request is failing.
ASp.Net Entity Fraomwork Core One To Many Relationship foreign key contraint blocking PUT request
I have a relationship on project entity and employee entity. In there I need have added a one to many relationship using entity framework core.(One employee have many projects but one project has one employee) The get,post,delete requests are working fine but the update request us failing.