private UnitOfWork() { this.context = new TheaterContext(); PlayRepository = new PlayRepository(context); ActorRepository = new ActorRepository(context); PlayActorRepository = new PlayActorRepository(context); PlayViewRepository = new PlayViewRepository(context); }