예제 #1
0
        public async override Task <FilterOrderResultDto> GetOrders(FilterOrderDto request, ServerCallContext context)
        {
            var orders = await _orderApplication.GetOrdersAsync();

            var result = new FilterOrderResultDto();

            result.Orders.AddRange(orders.ToOrderDtos());
            return(result);
        }