public ActionResult CustomerHome() { List <string> lstProducts = rep.FetchTopProducts(Request.QueryString["user"]); ViewBag.TopProducts = lstProducts; return(View()); }
public ActionResult AdminHome() { List <string> lstProducts = rep.FetchTopProducts(); ViewBag.TopProducts = lstProducts; return(View()); }