public void RemoveById(int id) { MovieCastCrewRepository marepo = new MovieCastCrewRepository(); marepo.RemoveRange(x => x.CastCrewId == id); Remove(id); }
public void RemoveActorRelation(int movieCastCrewId) { MovieCastCrewRepository marepo = new MovieCastCrewRepository(); marepo.Remove(movieCastCrewId); }
public List <MovieCastCrewDtoModel> GetMovieCastCrewByMovieId(int movieId) { MovieCastCrewRepository marepo = new MovieCastCrewRepository(); return(marepo.GetMovieCastCrewByMovieId(movieId)); }
public void CreateActorRelation(MovieCastCrew movieActor) { MovieCastCrewRepository marepo = new MovieCastCrewRepository(); marepo.Create(movieActor); }