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