public ActionResult Index() { var id = _sessionManagement.GetUserLoggedId(); if (id == "") { return(RedirectToAction("Index", "Login")); } ViewBag.DoctorName = _sessionManagement.GetUserLoggedName(); return(View()); }