public void Create() { var entity = new ActorFilm(); Console.WriteLine("Enter info about actor_film:"); Console.WriteLine("film_id:"); entity.film_id = Int32.Parse(Console.ReadLine()); Console.WriteLine("actor_id:"); entity.actor_id = Int32.Parse(Console.ReadLine()); controller.Create(entity); }
public void Update(ActorFilm entity) { this.entity.Update(entity); }
public void Create(ActorFilm entity) { this.entity.Add(entity); }