public Task <IListDto <ProductDto> > GetAllProductAsync(ProductRequestAllDto request) { IListDto <ProductDto> result = new ListDto <ProductDto> { HasNext = false, Items = list }; return(result.AsTask()); }
public Task <IListDto <PurchaseOrderDto> > GetAllPurchaseOrderAsync(PurchaseOrderRequestAllDto request) { IListDto <PurchaseOrderDto> result = new ListDto <PurchaseOrderDto> { HasNext = false, Items = list }; return(result.AsTask()); }
public Task <IListDto <CustomerDto> > GetAllAsync(CustomerRequestAllDto request) { IListDto <CustomerDto> result = new ListDto <CustomerDto> { HasNext = false, Items = list }; return(result.AsTask()); }
public Task <IListDto <PurchaseOrderDto> > GetAllPurchaseOrdersAsync(PurchaseOrderRequestAllDto request) { var dtoList = _manager.List.Select(MapToPurchaseOrderDto); IListDto <PurchaseOrderDto> list = new ListDto <PurchaseOrderDto> { Items = dtoList.ToList(), HasNext = false }; return(list.AsTask()); }