public HttpResponseMessage ClearExtractionHistory(HttpRequestMessage request, int solutionId) { return(GetHttpResponse(request, () => { //Cancel Job var message = string.Empty; _ExtractionProcessService.ClearExtractionHistory(solutionId); message = "Ok"; return request.CreateResponse <string>(HttpStatusCode.OK, message); })); }