public async Task <IActionResult> ConfirmEmail(string uid   = null,
                                                       string token = null,
                                                       string email = null)
        {
            ConfirmEmailModel model = new ConfirmEmailModel();

            if (!string.IsNullOrEmpty(uid) && !string.IsNullOrEmpty(token))
            {
                token = token.Replace(' ', '+');
                var result = await _accountManager.ConfirmUserEmailAsync(uid, token);

                if (result.Succeeded)
                {
                    model.IsConfirmed = true;
                    return(View(model));
                }
            }

            model.Email = email;
            return(View(model));
        }