public HttpResponseMessage Startservice(HttpRequestMessage request, string serviceName) { return(GetHttpResponse(request, () => { HttpResponseMessage response = null; _ExtractionProcessService.RestartService(serviceName); response = request.CreateResponse(HttpStatusCode.OK); return response; })); }