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