public ActionResult Video() { ViewBag.Title = "Login Page"; if (ManageCookie.CheckCookieExists() == null) { return(RedirectToAction("LoginPage")); } return(View()); }
public ActionResult Contact() { ViewBag.Message = "Your contact page."; if (ManageCookie.CheckCookieExists() == null) { return(RedirectToAction("LoginPage")); } return(View()); }