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

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