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);
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);