public async Task DeleteDriverAsync(Driver theDriver) { await ConnectionAsync.DeleteAsync(theDriver.ToDTO()); }
public void UpdateDriver(Driver theDriver) { Connection.Update(theDriver.ToDTO()); }
public async Task<int> AddDriverAsync(Driver theDriver) { return await ConnectionAsync.InsertAsync(theDriver.ToDTO()); }
public int AddDriver(Driver theDriver) { return Connection.Insert(theDriver.ToDTO()); }