public void GetAllTest() { ProductPhotoRepository repository = new ProductPhotoRepository(); var photos = repository.GetAll(); Assert.IsTrue(photos.Count() > 0); }
public IEnumerable <ProductPhoto> GetAll() { return(repository.GetAll()); }
public void GetAllTest() { ProductPhotoRepository repository = new ProductPhotoRepository(); var photos = repository.GetAll(); Assert.IsTrue(photos.Count() > 0); }
public IEnumerable <ProductPhoto> GetAll() { return(repository.GetAll()); }