How to Update Employee and Identity User with one to one/zero relation
问题 I am trying to update employee record and want to update identity user too. If i update Identity User first separately For Example: UserManager.Update(user); Context.Entry(employee).State = System.Data.Entity.EntityState.Modified; Context.SaveChanges(); and then update the employee. maybe it is possible identity user updates with success but employee update process gets an error. so IdentityUser is updated now but the employee is not. how to handle this situation. please guide. public class