I am trying to update a record in a table using Entity Framework Core in ASP.NET Core MVC, but I am getting an exception while calling
context.SaveChanges()
saying that record is not there or deleted.
But that record with same id is there in table. I checked it with debugging.