private void GetProgramDetails(MediaServicesAccountConfig account, List <MediaChannel> channels)
        {
            var controller = new ProgramsController();
            var programs   = controller.GetAllPrograms(account);

            channels.ForEach(channel =>
            {
                channel.Programs = programs
                                   .Where(program => program.ChannelName == channel.NameShort)
                                   .OrderBy(program => program.State)
                                   .ToList();
            });
        }
        private void GetProgramDetails(MediaServicesAccountConfig accountConfig, MediaService accountInfo)
        {
            var programsController = new ProgramsController();

            accountInfo.Programs = programsController.GetAllPrograms(accountConfig);
        }