예제 #1
0
        public static string UserName()
        {
            string UserNameKey = SettingsKeys.UserNameKey();

            using (RemindersEntities db = new RemindersEntities())
            {
                var setting = db.Settings.Where(x => x.Key == UserNameKey).FirstOrDefault();
                return(setting.Values);
            }
        }