public async Task DeleteRenterAsync(Renter theRenter) { await ConnectionAsync.DeleteAsync(theRenter.ToDTO()); }
public void UpdateRenter(Renter theRenter) { Connection.Update(theRenter.ToDTO()); }
public async Task <int> AddRenterAsync(Renter theRenter) { return(await ConnectionAsync.InsertAsync(theRenter.ToDTO())); }
public int AddRenter(Renter theRenter) { return(Connection.Insert(theRenter.ToDTO())); }