예제 #1
0
        public Task <IReadOnlyList <Film> > GetFilmByNomAsync(string nom)
        {
            FilmByNom spec = new FilmByNom(nom);

            return(_filmRepository.ListAsync(spec));
        }
예제 #2
0
        public IReadOnlyList <Film> GetFilmByNom(string nom)
        {
            FilmByNom spec = new FilmByNom(nom);

            return(_filmRepository.List(spec));
        }