示例#1
0
        public ActionResult Index()
        {
            //JobScheduler.Start();
            SettingsViewModel obj = new SettingsViewModel();

            obj.settingsView = new SettingsView();

            ViewBag.AdminEmail           = SettingService.EmailAdmin();
            ViewBag.BirthdayEmailText    = SettingService.BirthDayEmailText();
            ViewBag.AnniversaryEmailText = SettingService.AnniversaryEmailText();
            ViewBag.BirthdayReminder     = SettingService.BirthdayReminderEN();
            ViewBag.AnniversaryReminder  = SettingService.AnniversaryReminderEN();
            ViewBag.EventReminder        = SettingService.EventReminderEN();
            ViewBag.SendBirthday         = SettingService.SendBirthdayEN();
            ViewBag.SendAnniversary      = SettingService.SendAnniversaryEN();
            ViewBag.SendEvent            = SettingService.SendEventEN();
            ViewBag.UpComingReminder     = SettingService.UpComingReminderEN();
            return(View());
            //return null;
        }