public async Task <GetOrderOutput> OrderCreateConfirm(CreateOrderInput input) { var orderId = RpcContext.GetContext().GetAttachment("orderId"); var order = await _orderDomainService.GetById(orderId.To <long>()); order.Status = OrderStatus.Payed; order = await _orderDomainService.Update(order); return(order.MapTo <GetOrderOutput>()); }