public void Update(AppUser user) { _context.Entry(user).State = EntityState.Modified;//this lets entityframework update and add a flag that this has been modified }
public void Update(AppUser user) { _context.Entry(user).State = EntityState.Modified; }