public async Task <IHttpActionResult> PredictMergedReferentialsVideoDecomposition([DynamicBody] dynamic param) { try { int projectId = param.projectId; Stream stream = param.stream.ToObject <Stream>(); var result = await _importExportService.PredictMergedReferentialsVideoDecomposition(projectId, stream); return(Ok(result)); } catch (Exception ex) { _traceManager.TraceError(ex, ex.Message); return(InternalServerError(ex)); } }