public ActionResult About() { var commercemodel = new CommerceModel() { User = AccountServices.GetConsumerById(1), Products = InventoryServices.GetProducts() }; return(View(commercemodel)); }
public ActionResult Index() { var commercemodel = new CommerceModel() { User = AccountServices.GetConsumerById(1), Products = InventoryServices.GetProducts(), Cart = ShoppingServices.GetCart(30) }; return(View(commercemodel)); }