Example #1
0
        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);
        }
Example #2
0
 public void Update(ActorFilm entity)
 {
     this.entity.Update(entity);
 }
Example #3
0
 public void Create(ActorFilm entity)
 {
     this.entity.Add(entity);
 }