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