public async Task <IHttpActionResult> GetRestitutionData([DynamicBody] dynamic param) { try { int projectId = (int)param.projectId; return(Ok(await _analyzeService.GetRestitutionData(projectId))); } catch (Exception ex) { _traceManager.TraceError(ex, ex.Message); return(InternalServerError(ex)); } }