public ActionResult _Header() { ContextModel context = _contextService.GetContext(); HeaderViewModel header = _sharedViewService.GetHeader(context); header.Faqs = _faqService.GetInternalFaqs(); return(PartialView(header)); }
public ActionResult PlantManager() { _contextService.InitializePlantManagerLevel(); ContextModel context = _contextService.GetContext(); HeaderViewModel header = _sharedViewService.GetHeader(context); header.Faqs = _faqService.GetInternalFaqs(); _contextService.SetActualLanguage(CultureInfo.CurrentCulture.Name); return(View(header)); }
// GET: UserSetting public ActionResult Index() { if (!_contextService.InitializeUserSettingLevel()) { return(RedirectToAction("Logout", "Account", new { returnUrl = string.Empty, exception = 6 })); } var context = _contextService.GetContext(); var header = _sharedViewService.GetHeader(context); header.Faqs = _faqService.GetInternalFaqs(); _contextService.SetActualLanguage(CultureInfo.CurrentCulture.Name); return(View(header)); }