public async Task <bool> Delete(YeuCauTamUngLuong entity) { _db.YeuCauTamUngLuongs.Remove(entity); return(await Save()); }
public async Task <bool> Update(YeuCauTamUngLuong entity) { _db.YeuCauTamUngLuongs.Update(entity); return(await Save()); }
public async Task <bool> Create(YeuCauTamUngLuong entity) { await _db.YeuCauTamUngLuongs.AddAsync(entity); return(await Save()); }