public IActionResult ExportExcel(TitleInfoSearcher searcher)
        {
            var vm = Wtm.CreateVM <TitleInfoListVM>();

            vm.Searcher     = searcher;
            vm.SearcherMode = ListVMSearchModeEnum.Export;
            return(vm.GetExportData());
        }
 public IActionResult Search(TitleInfoSearcher searcher)
 {
     if (ModelState.IsValid)
     {
         var vm = Wtm.CreateVM <TitleInfoListVM>();
         vm.Searcher = searcher;
         return(Content(vm.GetJson()));
     }
     else
     {
         return(BadRequest(ModelState.GetErrorJson()));
     }
 }