예제 #1
0
        public async Task <IHttpActionResult> ExportVideoDecomposition([DynamicBody] dynamic param)
        {
            try
            {
                int projectId  = param.projectId;
                int scenarioId = param.scenarioId;
                int videoId    = param.videoId;

                var result = await _importExportService.ExportVideoDecomposition(projectId, scenarioId, videoId);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                _traceManager.TraceError(ex, ex.Message);
                return(InternalServerError(ex));
            }
        }