/// <summary> /// gets the home of section module /// </summary> /// <returns>returns the result to action</returns> public ActionResult Index() { SectionManagement objSection = new SectionManagement(SessionCustom, HttpContext); return(this.View(new Secciones() { UserPrincipal = CustomUser, Module = this.Module, CollSections = objSection.GetSectionsParentNull(CurrentLanguage.LanguageId.Value), ColModul = CustomMemberShipProvider.GetModuls(CustomUser.UserId, SessionCustom, HttpContext), CollLayouts = objSection.GetLayouts(), CollTemplates = objSection.GetTemplates(), CurrentLanguage = CurrentLanguage })); }