Esempio n. 1
0
        public async Task <IActionResult> Photos(int id)
        {
            List <Photo> photos = await _galleryService.GetPhotosByAlbumId(id);

            List <PhotoVM> photosVM = _mapper.Map <List <PhotoVM> >(photos);

            return(View(photosVM));
        }