public ActionResult Index() { if (Session["CURRENT_USER_ID"] != null) { string roleName = Session.GetCurrentUserInfo("RoleName"); if (roleName == "Administrator") { return(RedirectToAction("Index", "Admin")); } } var listProductModel = watchService.LoadWatchListIndex(); return(View("~/Views/Home/index.cshtml", listProductModel)); }