Example #1
0
 public async Task <bool> Remove <TEntity>(TEntity item) where TEntity : class
 {
     _db.Remove <TEntity>(item);
     return(await _db.SaveChangesAsync() >= 0);
 }