Пример #1
0
 private MLG2007.Helper.CalendarStore.CalendarCollection GetCalendars(string role)
 {
     MLG2007.Helper.CalendarStore.CalendarCollection calendarCollection = null;
     MLG2007.Helper.CalendarStore.CalendarStore      calendarStore      = new MLG2007.Helper.CalendarStore.CalendarStore();
     calendarStore.CalendarListURL = this.Page.Server.UrlDecode(this.CalendarsListUrl);
     try
     {
         calendarCollection = calendarStore.GetCalendarByRole(role);
     }
     catch (Exception exception)
     {
         //ToDO:Write Handling code overhere
     }
     return(calendarCollection);
 }