public ActionResult Index() { if (Request.Url != null && Session[CustomizeHelper.sessionMarcker] == null) { CustomizeHelper.SetSession(Session, CompanyService.CompanyByDomain(Request.Url.Host.ToLower()), null); } Session["isCreated"] = false; var profile = SessionManager.inst.User(); if (profile != null) { if (!profile.TourShowed) { Session["isCreated"] = true; SessionManager.inst.SetVisited(); } } ViewBag.courses = CourseService.MasterCoursesAssignedTo(SessionManager.inst.User().Id, Services.Filters.FilterIdType.UserId, false); ViewBag.midlle = "_midlle.png"; return(View()); }