public HttpResponseMessage GetProcessTriggers(HttpRequestMessage request, string jobCode) { return(GetHttpResponse(request, () => { //Cancel Process ProcessTriggerData[] processTriggers = _ExtractionProcessService.GetProcessTriggerByJob(jobCode); return request.CreateResponse <ProcessTriggerData[]>(HttpStatusCode.OK, processTriggers); })); }