public Owned PutCar(string id, Owned owned)
 {
     _context.Entry(owned).State = EntityState.Modified;
     _context.SaveChangesAsync();
     return(owned);
 }
Example #2
0
 public Customer PutCustomer(string id, Customer customer)
 {
     _context.Entry(customer).State = EntityState.Modified;
     _context.SaveChangesAsync();
     return(customer);
 }
Example #3
0
 public CarsInfo PutCar(string id, CarsInfo carsInfo)
 {
     _context.Entry(carsInfo).State = EntityState.Modified;
     _context.SaveChangesAsync();
     return(carsInfo);
 }