Esempio n. 1
0
        public async Task Execute(IJobExecutionContext context)
        {
            DateTime       date           = DateTime.Now;
            SubjectManager subjectManager = new SubjectManager();
            AlertManager   alertManager   = new AlertManager();
            await subjectManager.WeeklyReview(date);

            await alertManager.ShowUserWeeklyAlerts();

            await Console.Out.WriteLineAsync("Weekly Review Updated");
        }