Beispiel #1
0
 public ObservableCollection <ResourceCalendar> GetUserResourceCalendars(string userId)
 {
     return(new ObservableCollection <ResourceCalendar>(ResourceCalendars.Where(rc => rc.OwningResourceId == userId)));
 }
Beispiel #2
0
 public ObservableCollection <ResourceCalendar> GetTeamResourceCalendars(string userId)
 {
     return(new ObservableCollection <ResourceCalendar>(ResourceCalendars.Where(rc => rc.OwningResourceId != userId && !rc.OwningResourceId.StartsWith("conferenceRoom"))));
 }
Beispiel #3
0
 public ObservableCollection <ResourceCalendar> GetSharedResourceCalendars()
 {
     return(new ObservableCollection <ResourceCalendar>(ResourceCalendars.Where(rc => rc.OwningResourceId.Contains("conferenceRoom"))));
 }