public async Task <PaginatedResult <LineTotalAndOrderQtySumPerDay, LineTotalAndOrderQtySumPerTimePeriod> > Handle ( GetAggregatedLineTotalAndOrderQtyInTimePeriodCommand request, CancellationToken cancellationToken ) { var dtoResult = await _purchaseOrderDetailService.GetLineTotalAndOrderQuantitySumPerDay ( request.StartDate, request.EndDate, request.paginationData ); var result = dtoResult.Remap <LineTotalAndOrderQtySumPerDay, LineTotalAndOrderQtySumPerTimePeriod>(_mapper); return(result); }