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