Exemplo n.º 1
0
        public async Task <StepDetail> Handle(GetNextStepQuery request, CancellationToken cancellationToken = default)
        {
            var step = await _StoryRepository.GetNextStep(request.StepId, request.ChoiceId);

            step.Validate();

            return(_Mapper.Map <StepDetail>(step));
        }