public Schedule CreateRecordRepeatingSchedule(RepeatingType repeatingType, Guid?channelId, Guid guideProgramId) { GuideProgram guideProgram = Proxies.GuideService.GetProgramById(guideProgramId).Result; if (guideProgram != null) { return(GuideController.CreateRecordRepeatingSchedule(repeatingType, _model.ChannelType, channelId, guideProgram.Title, guideProgram.StartTime, string.Empty)); } return(null); }
public Schedule CreateRecordRepeatingSchedule(ISchedulerService tvSchedulerAgent, IGuideService tvGuideAgent, RepeatingType repeatingType, Guid?channelId, Guid guideProgramId) { GuideProgram guideProgram = tvGuideAgent.GetProgramById(guideProgramId); if (guideProgram != null) { return(GuideController.CreateRecordRepeatingSchedule(tvSchedulerAgent, repeatingType, _model.ChannelType, channelId, guideProgram.Title, guideProgram.StartTime, string.Empty)); } return(null); }