public async Task <int> AddLocationAsync(Location theLocation) { return(await ConnectionAsync.InsertAsync(theLocation.ToDTO())); }
public async Task <int> AddDriverAsync(Driver theDriver) { return(await ConnectionAsync.InsertAsync(theDriver.ToDTO())); }
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)); }
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())); }