public void AddSchedule(Schedule schedule) { if (Schedules.ContainsKey(schedule.Name)) { return; } _Service.CreateSchedule(schedule.Name, schedule.Definition); }