public async Task <IHttpActionResult> SaveSimulateData([DynamicBody] dynamic param) { try { Scenario updatedScenario = param.updatedScenario; await _validateService.SaveSimulateData(updatedScenario); return(Ok(updatedScenario)); } catch (Exception ex) { _traceManager.TraceError(ex, ex.Message); return(InternalServerError(ex)); } }