示例#1
0
        private async Task <bool> SendCode(string EmailAddress, string ActiveCode)
        {
            // Gửi mã kích hoạt tài khoản qua Email
            try
            {
                await _sendEmail.ActiveCodeEmail(EmailAddress, ActiveCode);
            }
            catch (Exception ex)
            {
                Logger.Error("Lỗi gửi mail active", ex);

                return(false);
            }

            return(true);
        }