public ActionResult Search() { var model = new SettingViewModel { ActiveMenuType = MenuType.Setting, }; CurrentMenu = MenuType.Setting; return View(model); }
public ActionResult WriteIndex() { var model = new SettingViewModel { ActiveMenuType = MenuType.Setting, }; _indexService.Update(IndexDirectory); return View("Search", model); }
public ActionResult Index() { var model = new SettingViewModel(); return View(model); }