コード例 #1
0
 public async Task DeleteRenterAsync(Renter theRenter)
 {
     await ConnectionAsync.DeleteAsync(theRenter.ToDTO());
 }
コード例 #2
0
 public void UpdateRenter(Renter theRenter)
 {
     Connection.Update(theRenter.ToDTO());
 }
コード例 #3
0
 public async Task <int> AddRenterAsync(Renter theRenter)
 {
     return(await ConnectionAsync.InsertAsync(theRenter.ToDTO()));
 }
コード例 #4
0
 public int AddRenter(Renter theRenter)
 {
     return(Connection.Insert(theRenter.ToDTO()));
 }