示例#1
0
        public async Task <ActionResult <ConfirmInfoDto> > Index(
            [WorkFlow(typeof(TestWorkflow))]
            IAsyncHandler <CreateNewUserInputDto, ActionResult <ConfirmInfoDto> > handler,
            CreateNewUserInputDto dto)
        {
            var s  = (double)12 / 0;
            var ct = CancellationToken.None;

            return(await handler.Handle(dto, ct));
        }
 public async Task <ActionResult <ConfirmInfoDto> > Index(
     [WorkFlow(typeof(TestWorkflow))] IAsyncHandler <CreateNewUserInputDto, ActionResult <ConfirmInfoDto> > handler,
     CreateNewUserInputDto dto) => await handler.Handle(dto, CancellationToken.None);