public UnitOfWork() { mContext = new TheatreAppContext(); Seances = new SeanceRepository(mContext); Spectacles = new SpectacleRepository(mContext); Users = new UsersRepository(mContext); }
public UsersRepository(TheatreAppContext context) { mContext = context; }
public SpectacleRepository(TheatreAppContext context) { mContext = context; }
public SeanceRepository(TheatreAppContext context) { mContext = context; }