public async Task ThenTrueIfMediatorCallSuceeds() { var actual = await _accountOrchestrator.ResendActivationCode(new ResendActivationCodeViewModel()); Assert.True(actual); }
public async Task <ActionResult> ConfirmResend() { await _accountOrchestrator.ResendActivationCode(new ResendActivationCodeViewModel { UserId = GetLoggedInUserId() }); return(RedirectToAction("Confirm")); }