예제 #1
0
        public ActionResult Index()
        {
            var id = _sessionManagement.GetUserLoggedId();

            if (id == "")
            {
                return(RedirectToAction("Index", "Login"));
            }

            ViewBag.DoctorName = _sessionManagement.GetUserLoggedName();
            return(View());
        }