Exemplo n.º 1
0
 private UnitOfWork()
 {
     this.context        = new TheaterContext();
     PlayRepository      = new PlayRepository(context);
     ActorRepository     = new ActorRepository(context);
     PlayActorRepository = new PlayActorRepository(context);
     PlayViewRepository  = new PlayViewRepository(context);
 }