コード例 #1
0
ファイル: DbWriter.cs プロジェクト: codeninjah/LIA2SPO161
 public async Task <bool> Remove <TEntity>(TEntity item) where TEntity : class
 {
     _db.Remove <TEntity>(item);
     return(await _db.SaveChangesAsync() >= 0);
 }