Beispiel #1
0
 public Task <IListDto <TDto> > GetAllAsync <TDto>(IRequestAllDto key, Expression <Func <Customer, bool> > func = null, bool paging = true, bool orderning = true)
 => GetAll <TDto>(key, func, paging, orderning).AsTask();
 public async Task <IListDto <TDto, Guid> > GetAllAsync <TDto>(IRequestAllDto key, Expression <Func <Customer, bool> > func = null, bool paging = true, bool orderning = true)
     where TDto : IDto <Guid>
 => await list.ToListDtoAsync <Customer, TDto, Guid>(false);
Beispiel #3
0
        public IListDto <TDto> GetAll <TDto>(IRequestAllDto key, Expression <Func <Customer, bool> > func = null, bool paging = true, bool orderning = true)
        {
            var result = list.ToListDto <Customer, TDto>(false);

            return(result);
        }
 public IListDto <TDto, Guid> GetAll <TDto>(IRequestAllDto key, Expression <Func <Customer, bool> > func = null, bool paging = true, bool orderning = true)
     where TDto : IDto <Guid>
 => list.ToListDto <Customer, TDto, Guid>(false);