Ejemplo n.º 1
0
 public async Task <int> Remove <T>(IEnumerable <T> entities) where T : BaseEntity
 {
     _dbContext.RemoveRange(entities);
     return(dbContextTransaction == null ? await CommitTrans() : 0);
 }