BExIS.Web.Shell.Areas.DDM.Controllers.AdminController.ReloadConfig C# (CSharp) Method

ReloadConfig() public method

public ReloadConfig ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult ReloadConfig()
        {
            ViewBag.Title = PresentationModel.GetViewTitleForTenant("Manage Search", this.Session.GetTenant());
            ISearchDesigner sd = GetSearchDesigner();
            sd.Reload();

            //ISearchProvider provider = IoCFactory.Container.ResolveForSession<ISearchProvider>() as ISearchProvider;

            //((SearchProvider)provider).RefreshIndex();

            return View("SearchDesigner", (List<SearchAttributeViewModel>)Session["searchAttributeList"]);
        }