private void LoadCalendars() { var calendar = new Metadata.Calendar { CalendarId = Guid.NewGuid().ToString(), Provider = "LocalCalendarsStorage", Name = "LocalCalendar" }; _calendars.Add(calendar); _worker.GetData <Appointment>().ForEach(f => _calendarsEvents.Add(f)); }
public IEnumerable <Appointment> GetAppointments(Metadata.Calendar calendar) { return(GetAppointments(calendar.CalendarId)); }