public HttpResponseMessage CleanMetadata(PostedDataDto postedData) { try { metadataService.CleanMetadata(postedData); return(Request.CreateResponse(HttpStatusCode.OK, new object())); } catch (Exception ex) { return(Request.CreateResponse(HttpStatusCode.InternalServerError, Resources.GenerateException(ex))); } }