public async Task <IHttpActionResult> GetFutureVersion([DynamicBody] dynamic param) { int processId = (int)param.processId; PublishModeEnum publishMode = (PublishModeEnum)param.publishMode; bool isMajor = param.isMajor; return(Ok(await _publicationService.GetFutureVersion(processId, publishMode, isMajor))); }