public async Task DeleteLocationAsync(Location theLocation) { await ConnectionAsync.DeleteAsync(theLocation.ToDTO()); }
public async Task UpdateLocationAsync(Location theLocation) { await ConnectionAsync.UpdateAsync(theLocation.ToDTO()); }
public void UpdateLocation(Location theLocation) { Connection.Update(theLocation.ToDTO()); }
public async Task<int> AddLocationAsync(Location theLocation) { return await ConnectionAsync.InsertAsync(theLocation.ToDTO()); }
public int AddLocation(Location theLocation) { return Connection.Insert(theLocation.ToDTO()); }