Exemple #1
0
 public void Add(Service service)
 {
     if (service != null)
     {
         _db.Add(service);
         _db.SaveChanges();
     }
 }
 public void Add(Vehicle Vehicle)
 {
     if (Vehicle != null)
     {
         _db.Add(Vehicle);
         _db.SaveChanges();
     }
 }
Exemple #3
0
 public void Add(Owner owner)
 {
     if (owner != null)
     {
         _db.Add(owner);
         _db.SaveChanges();
     }
 }
 public void Add(ServiceOrder serviceOrder)
 {
     if (serviceOrder != null)
     {
         _db.Add(serviceOrder);
         _db.SaveChanges();
     }
 }