Ejemplo n.º 1
0
 public async Task <int> AddLocationAsync(Location theLocation)
 {
     return(await ConnectionAsync.InsertAsync(theLocation.ToDTO()));
 }
Ejemplo n.º 2
0
 public async Task <int> AddDriverAsync(Driver theDriver)
 {
     return(await ConnectionAsync.InsertAsync(theDriver.ToDTO()));
 }
Ejemplo n.º 3
0
 public async Task <int> AddAutomobileAsync(Automobile theAutomobile)
 {
     return(await ConnectionAsync.InsertAsync(theAutomobile.ToDTO()));
 }
 public async Task <int> AddRentalAgreementAsync(RentalAgreement theRentalAgreement)
 {
     return(await ConnectionAsync.InsertAsync(theRentalAgreement));
 }
Ejemplo n.º 5
0
 public async Task <int> AddCustomerAsync(Customer theCustomer)
 {
     return(await ConnectionAsync.InsertAsync(theCustomer.ToDTO()));
 }
 public async Task <int> AddRenterAsync(Renter theRenter)
 {
     return(await ConnectionAsync.InsertAsync(theRenter.ToDTO()));
 }