public void Update(User user) { dbContext.Entry(user).State = EntityState.Modified; }
public void Update(Photo photo) { dbContext.Entry(photo).State = EntityState.Modified; }