public Task <string> RenderShippingConfirmationAsync(Order order) => Compose(
     RenderHeaderAsync(),
     RenderTemplateAsync("shipping-confirmation", OrderProjections.Project(order)),
     RenderFooterAsync()
     );
Beispiel #2
0
        public object ForAdminById(string orderId)
        {
            var order = _orderManager.GetOrderById(orderId);

            return(OrderProjections.Project(order));
        }