public async Task <MediaChannel> GetChannel(string id)
        {
            var queryString = new SchedulerManagerApp.Helpers.RESTService.Utility.HttpValueCollection("?id=" + id, true);

            return(await this.GetAsync <MediaChannel>("api/channels", queryString, false));
        }
Example #2
0
        public async Task <IEnumerable <ArchiveProgram> > GetArchives(string channnelId, long timestamp)
        {
            var queryString = new SchedulerManagerApp.Helpers.RESTService.Utility.HttpValueCollection("?channelId=" + channnelId + "&timestamp=" + timestamp, true);

            return(await this.GetAsync <IEnumerable <ArchiveProgram> >("api/archives", queryString, false));
        }