Ejemplo n.º 1
0
 public ActionResult Index()
 {
     if (Session["Email"] != null && Session["UserID"] != null)
     {
         ViewBag.ActiveMenu = "Dashboard";
         return(View(_HomeService.DashboardStats()));
     }
     else
     {
         return(RedirectToAction("Login"));
     }
 }