public JsonpResult LogSearchResults(string searchText, int seriesCount, int imageCount, int typicalCount, int pageCount) { using (ImportRepository iRepo = new ImportRepository()) { return(new JsonpResult() { Data = iRepo.LogSearchResults(searchText, seriesCount, imageCount, typicalCount, pageCount), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); } }