public async Task<bool> DeleteAsync(Location entity) { _db.Locations.Remove(entity); return await SaveAsync(); }
public async Task<bool> UpdateAsync(Location entity) { _db.Locations.Update(entity); return await SaveAsync(); }
public async Task<bool> CreateAsync(Location entity) { await _db.Locations.AddAsync(entity); return await SaveAsync(); }