예제 #1
0
        public void RemoveById(int id)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.RemoveRange(x => x.CastCrewId == id);
            Remove(id);
        }
예제 #2
0
        public void RemoveActorRelation(int movieCastCrewId)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.Remove(movieCastCrewId);
        }
예제 #3
0
        public List <MovieCastCrewDtoModel> GetMovieCastCrewByMovieId(int movieId)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            return(marepo.GetMovieCastCrewByMovieId(movieId));
        }
예제 #4
0
        public void CreateActorRelation(MovieCastCrew movieActor)
        {
            MovieCastCrewRepository marepo = new MovieCastCrewRepository();

            marepo.Create(movieActor);
        }