Esempio n. 1
0
            public async Task <bool> HandleEvent(Command e, int queueDepth)
            {
                var result = await Handle(e);

                if (result.IsOk)
                {
                    await _mailingService.SendConfirmationEmail();

                    return(true);
                }

                await _mailingService.SendDenyEmail();

                return(false);
            }