public async Task <IActionResult> Confirm(string userId, string token) { var result = await service.Confirm(userId, token); if (result.Successful) { return(Redirect("/login")); } else { return(Redirect("/confirmationError")); } }