public async STT.Task <IActionResult> Update([FromRoute] Guid id, [FromBody] SAVM.ScenarioTemplate scenarioTemplate, CancellationToken ct)
        {
            scenarioTemplate.ModifiedBy = User.GetId();
            var updatedScenarioTemplate = await _scenarioTemplateService.UpdateAsync(id, scenarioTemplate, ct);

            return(Ok(updatedScenarioTemplate));
        }
        public async STT.Task <IActionResult> Create([FromBody] SAVM.ScenarioTemplate scenarioTemplate, CancellationToken ct)
        {
            scenarioTemplate.CreatedBy = User.GetId();
            var createdScenarioTemplate = await _scenarioTemplateService.CreateAsync(scenarioTemplate, ct);

            return(CreatedAtAction(nameof(this.Get), new { id = createdScenarioTemplate.Id }, createdScenarioTemplate));
        }