public ActionResult SearchLog() { using (var iRepo = new ImportRepository()) { var logList = iRepo.GetSearchLogList(); return(View(logList)); } }