public void EditUser(User user) { user.Password = "******"; _context.Entry(user).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }
public void EditBooking(Booking booking) { _context.Entry(booking).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }
public void EditSubject(Subject subj) { _context.Entry(subj).State = System.Data.Entity.EntityState.Modified; _context.SaveChanges(); }