public ActionResult SearchResults(string category, string subcategory, string subcategoryid) { Session["sub"] = subcategoryid; var model = new ResultsVM(); model.SpecList = resultsService.getSpecListForSubCategory(int.Parse(subcategoryid)); return(Json(new { url = Url.Action("Result", "Results") })); }