Esempio n. 1
0
        public override IEnumerable <PodCast> GetAll()
        {
            IEnumerable <PodCast> podCastToBeReturned;

            podCastToBeReturned = _datamanager.Load <PodCast>(_podcastFileLocation);
            return(podCastToBeReturned ?? new List <PodCast>());
        }
Esempio n. 2
0
        public virtual IEnumerable <T> GetAll()
        {
            IEnumerable <T> entityToBeReturned;

            entityToBeReturned = _datamanager.Load <T>(_fileLocation);
            return(entityToBeReturned ?? new List <T>());
        }
Esempio n. 3
0
        public override IEnumerable <Episode> GetAll()
        {
            IEnumerable <Episode> podCastToBeReturned;

            podCastToBeReturned = _datamanager.Load <Episode>(_episodeFileLocation);
            return(podCastToBeReturned ?? new List <Episode>());
        }
Esempio n. 4
0
        public override IEnumerable <Category> GetAll()
        {
            IEnumerable <Category> categoryToBeReturned;

            categoryToBeReturned = _datamanager.Load <Category>(_categoryFileLocation);
            return(categoryToBeReturned ?? new List <Category>());
        }