public JsonResult GetList(int PageNumber, int PageSize) { var ProspectList = new List <SPGetProspectlistTest_Result>(); ProspectList = context.SPGetProspectlistTest(PageNumber, PageSize).ToList(); return(Json(ProspectList, JsonRequestBehavior.AllowGet)); }