public HttpResponseMessage ConvertProgram([FromBody] ConvertProgramRequest convertProgramRequest)
 {
     using (HttpRequestMessage request = HttpRequestMessageHttpContextExtensions.GetHttpRequestMessage(HttpContext))
     {
         return(request.CreateResponse(HttpStatusCode.OK, ToolInventoryRepo.ConvertProgram(convertProgramRequest)));
     }
 }
Example #2
0
 public string ConvertProgram(ConvertProgramRequest convertProgramRequest)
 {
     return(ToolInventoryRepo.ConvertProgram(convertProgramRequest));
 }