예제 #1
0
        public async Task <IHttpActionResult> ExportProject([DynamicBody] dynamic param)
        {
            try
            {
                int projectId = param.projectId;
                var result    = await _importExportService.ExportProject(projectId);

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