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)); }
public async Task <IEnumerable <ArchiveProgram> > GetArchives(string channnelId, long timestamp) { var queryString = new SchedulerManagerApp.Helpers.RESTService.Utility.HttpValueCollection("?channelId=" + channnelId + "×tamp=" + timestamp, true); return(await this.GetAsync <IEnumerable <ArchiveProgram> >("api/archives", queryString, false)); }