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