Exemplo n.º 1
0
        public async override Task <UpdatedOrderResultDto> Delete(OrderIdDto request, ServerCallContext context)
        {
            var result = await _orderApplication.DeleteOrderAsync(request.Id);

            return(new UpdatedOrderResultDto()
            {
                Count = result
            });
        }