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