public async Task <bool> DeleteRange(List <int> idList) { return(await Task.Run <bool>(() => ibaseDal.DeleteRange(idList))); }
public bool DeleteRange(IEnumerable <T> t) { _baseDal.DeleteRange(t); return(unitOfWork.SaveChanges() > 0); }
public bool DeleteRange(IEnumerable <T> t) { _baseDal.DeleteRange(t); return(_baseDal.SaveChanges()); }