public int Count(ExceptionInfoSearchModel searchModel)
 {
     var searchEngine = new ExceptionInfoSearchEngine();
     searchModel.Take = 0;
     return searchEngine.Search(searchModel).Count();
 }
 public IEnumerable<ExceptionInfoListViewModel> Search(ExceptionInfoSearchModel searchModel)
 {
     var searchEngine = new ExceptionInfoSearchEngine();
     var logRegels = searchEngine.Search(searchModel).ToList();
     return logRegels.ConvertAll(input => input.ConvertTo<ExceptionInfoListViewModel>());
 }