Exemple #1
0
        public IActionResult FilterByGenre(string genreName)
        {
            Pictures jopa = new Pictures(pictureService.FilterByGenre(pictureService.GetAllPics(), genreName),
                                         artistService.GetAllArtists().ToList(), pictureService.GetAllTechniqes().ToList());

            //model.pics = pictureService.FilterByGenre(model.pics, genreName);
            return(View("Collections", jopa));
        }