Exemplo n.º 1
0
        /// <summary>
        /// email handle method
        /// </summary>
        /// <param name="keyName">key name</param>
        /// <returns></returns>
        public bool Handle(string keyName)
        {
            var content      = _buildData.BuildData <string>(keyName);
            var emailsetting = _emailProvider.GetEmailSetting(keyName);

            return(SendEmail(content, emailsetting));
        }