Exemplo n.º 1
0
        public async Task <IActionResult> Post(Execution execution)
        {
            await _executionRepository.Create(execution);

            await _executorService.SetExecutionPlan(execution.PlanId);

            _executorService.Execution = execution;
            await _executorService.Execute();

            return(NoContent());
        }