Exemplo n.º 1
0
        public void RemoveById(int id)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.RemoveRange(x => x.CastCrewId == id);
            Remove(id);
        }
Exemplo n.º 2
0
        public void RemoveActorRelation(int movieCastCrewId)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.Remove(movieCastCrewId);
        }
Exemplo n.º 3
0
        public List <MovieCastCrewDtoModel> GetMovieCastCrewByMovieId(int movieId)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            return(marepo.GetMovieCastCrewByMovieId(movieId));
        }
Exemplo n.º 4
0
        public void CreateActorRelation(MovieCastCrew movieActor)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.Create(movieActor);
        }