public bool Update(Rent rent) { dbContext.Update(rent); return(dbContext.SaveChanges() > 0); }
public bool Update(Movie movie) { dbContext.Update(movie); return(dbContext.SaveChanges() > 0); }
public bool Update(Customer customer) { dbContext.Update(customer); return(dbContext.SaveChanges() > 0); }