Exemple #1
0
        public async Task <ActionResult> Print(long?id)
        {
            var stores = storeManager.SelectStores();

            var shoppingCart = shoppingCartManager.Select(id.Value);

            ShoppingCartModel model = ShoppingCartModel.FromBusinessEntity(shoppingCart);

            model.Stores = StoreModel.FromBusinessEntityCollection(stores);

            return(PartialView(model));
        }