public async Task <PagedResults <OrderResponseDTO> > OrderGetAll([FromQuery] PagingParameters pagingParameters) { var pagedResults = await _orderRespository.GetAll(pagingParameters.Page, pagingParameters.PageSize); return(_mapper.Map <PagedResults <OrderResponseDTO> >(pagedResults)); }