public override IEnumerable <PodCast> GetAll() { IEnumerable <PodCast> podCastToBeReturned; podCastToBeReturned = _datamanager.Load <PodCast>(_podcastFileLocation); return(podCastToBeReturned ?? new List <PodCast>()); }
public virtual IEnumerable <T> GetAll() { IEnumerable <T> entityToBeReturned; entityToBeReturned = _datamanager.Load <T>(_fileLocation); return(entityToBeReturned ?? new List <T>()); }
public override IEnumerable <Episode> GetAll() { IEnumerable <Episode> podCastToBeReturned; podCastToBeReturned = _datamanager.Load <Episode>(_episodeFileLocation); return(podCastToBeReturned ?? new List <Episode>()); }
public override IEnumerable <Category> GetAll() { IEnumerable <Category> categoryToBeReturned; categoryToBeReturned = _datamanager.Load <Category>(_categoryFileLocation); return(categoryToBeReturned ?? new List <Category>()); }