public static List <Program> getEpg(int chanId, DateTime startTime, DateTime endTime) { List <Program> epgs = serverIntf.GetEPGForChannel(chanId.ToString(), startTime, endTime); return(epgs); }