public Service Update(Service service) { if (service != null) { _db.Update(service); _db.SaveChanges(); } return(service); }
public Vehicle Update(Vehicle Vehicle) { if (Vehicle != null) { _db.Update(Vehicle); _db.SaveChanges(); } return(Vehicle); }
public Owner Update(Owner owner) { if (owner != null) { _db.Update(owner); _db.SaveChanges(); } return(owner); }
public ServiceOrder Update(ServiceOrder serviceOrder) { if (serviceOrder != null) { _db.Update(serviceOrder); _db.SaveChanges(); } return(serviceOrder); }