public async Task <bool> SendConfirmEmail(string email, string confirmToken) { var confirmUrl = $"{_httpContextAccessor.HttpContext.Request.Scheme}://{_httpContextAccessor.HttpContext.Request.Host}/Registration?confirmationToken={confirmToken}"; return(await _mailClient.SendConfirmationMail(email, confirmUrl)); }