예제 #1
0
        public async Task <EmailSettings> GetEmailSettings()
        {
            var result = (await ConnectionWrapper.QueryAsync <dynamic>("GetInstanceEmailSettings", commandType: CommandType.StoredProcedure)).FirstOrDefault();

            return(result == null ? null : EmailSettings.CreateFromString(result.EmailSettings));
        }