Exemplo n.º 1
0
        public JsonResult HTTPRequest()
        {
            JobService.JobServiceClient Proxy   = new JobService.JobServiceClient();
            List <JobModel>             jobList = Proxy.GetListOfJobOpening();

            return(Json(jobList, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        public ActionResult HTTPRequestByID(string jobName)
        {
            JobService.JobServiceClient Proxy = new JobService.JobServiceClient();

            List <JobModel> jobList = Proxy.GetListOfJobOpeningByRole(jobName);

            return(Json(jobList, JsonRequestBehavior.AllowGet));
        }