Exemplo n.º 1
0
        public ActionResult Index()
        {
            var photos = new List <GalleryPhotoViewModel>();

            photos.MapPhotos(photoRepository.GetItems().ToList());

            return(View(photos));
        }