Пример #1
0
        public void GetAllTest()
        {
            ProductPhotoRepository repository = new ProductPhotoRepository();
            var photos = repository.GetAll();

            Assert.IsTrue(photos.Count() > 0);
        }
Пример #2
0
 public IEnumerable <ProductPhoto> GetAll()
 {
     return(repository.GetAll());
 }