public HttpResponseMessage GetAvailableProcessRoles(HttpRequestMessage request) { return(GetHttpResponse(request, () => { ProcessRoleData[] processroles = _ExtractionProcessService.GetProcessRoles(); return request.CreateResponse <ProcessRoleData[]>(HttpStatusCode.OK, processroles); })); }