private static async Task SetupSchedules( bool dailyNotificationDue = false, bool requestReminderDue = false, bool reservationReminderDue = false, bool softInterruptionUpdaterDue = false, bool weeklyNotificationDue = false) { const string DueTime = "2020-01-01T00:00:00Z"; const string NotDueTime = "2030-01-01T00:00:00Z"; var dailyNotificationTime = dailyNotificationDue ? DueTime : NotDueTime; var requestReminderTime = requestReminderDue ? DueTime : NotDueTime; var reservationReminderTime = reservationReminderDue ? DueTime : NotDueTime; var softInterruptionUpdaterTime = softInterruptionUpdaterDue ? DueTime : NotDueTime; var weeklyNotificationTime = weeklyNotificationDue ? DueTime : NotDueTime; var rawScheduleData = new Dictionary <string, string> { { "DAILY_NOTIFICATION", dailyNotificationTime }, { "REQUEST_REMINDER", requestReminderTime }, { "RESERVATION_REMINDER", reservationReminderTime }, { "SOFT_INTERRUPTION_UPDATER", softInterruptionUpdaterTime }, { "WEEKLY_NOTIFICATION", weeklyNotificationTime } }; await DatabaseHelpers.CreateSchedules(rawScheduleData); }