public async Task ThenTrueIfMediatorCallSuceeds()
        {
            var actual = await _accountOrchestrator.ResendActivationCode(new ResendActivationCodeViewModel());

            Assert.True(actual);
        }
コード例 #2
0
        public async Task <ActionResult> ConfirmResend()
        {
            await _accountOrchestrator.ResendActivationCode(new ResendActivationCodeViewModel { UserId = GetLoggedInUserId() });

            return(RedirectToAction("Confirm"));
        }