Example #1
0
 public Service Update(Service service)
 {
     if (service != null)
     {
         _db.Update(service);
         _db.SaveChanges();
     }
     return(service);
 }
Example #2
0
 public Vehicle Update(Vehicle Vehicle)
 {
     if (Vehicle != null)
     {
         _db.Update(Vehicle);
         _db.SaveChanges();
     }
     return(Vehicle);
 }
Example #3
0
 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);
 }