// // GET: /Home/ public ActionResult Index() { Category cat = new Category(); cat.getProductsForFeatured(); cat.getProductsForStaff(); return View(cat); }
// // GET: /Store/Browse public ActionResult Browse(int categoryId) { if (Session["loggedIn"] != null) { string accountType = Session["account"].ToString(); Category category = new Category(categoryId, accountType); return View(category); } else { Category category = new Category(categoryId, "Personal"); return View(category); } }
// // GET: /Store/ public ActionResult Index() { Category categories = new Category(); return View(categories); }