Пример #1
0
 public async Task <bool> DeleteRange(List <int> idList)
 {
     return(await Task.Run <bool>(() => ibaseDal.DeleteRange(idList)));
 }
Пример #2
0
 public bool DeleteRange(IEnumerable <T> t)
 {
     _baseDal.DeleteRange(t);
     return(unitOfWork.SaveChanges() > 0);
 }
Пример #3
0
 public bool DeleteRange(IEnumerable <T> t)
 {
     _baseDal.DeleteRange(t);
     return(_baseDal.SaveChanges());
 }