コード例 #1
0
        public async Task <IEnumerable <DeliveryDTO> > Handle(GetAllDeliverysQuery request, CancellationToken cancellationToken)
        {
            var res = await _deliveryService.GetAllDeliverysAysnc();

            return(_mapper.Map <IEnumerable <DeliveryDTO> >(res));
        }