public ActionResult JobList() { JobDataStore Obj = new JobDataStore(); List <SA_Job> NewsList = Obj.GetJobList(); return(PartialView("~/Views/PartialView/JobPartialView.cshtml", NewsList)); }
public JsonResult JobList() { List <SA_Job> NewsList = Obj.GetJobList(); return(Json(new { data = NewsList }, JsonRequestBehavior.AllowGet)); }