Exemplo n.º 1
0
 private void LoadData()
 {
     Services = StreamingLiveLib.Services.LoadBySiteId(AppUser.Current.Site.Id).Sort("ServiceTime", false);
     Buttons  = StreamingLiveLib.Buttons.LoadBySiteId(AppUser.Current.Site.Id);
     Tabs     = StreamingLiveLib.Tabs.LoadBySiteId(AppUser.Current.Site.Id);
     Pages    = new List <SelectListItem>();
     foreach (StreamingLiveLib.Page p in StreamingLiveLib.Pages.LoadBySiteId(AppUser.Current.Site.Id))
     {
         Pages.Add(new SelectListItem(p.Name, p.Id.ToString()));
     }
     PopulateAppearance();
 }
Exemplo n.º 2
0
 private void LoadData()
 {
     services = StreamingLiveLib.Services.LoadBySiteId(AppUser.Current.Site.Id).Sort("ServiceTime", false);
 }