Пример #1
0
 public IBoardGameGeekInfoRepository GetBoardGameGeekInfoRepository()
 {
     if (bggInfoRepository == null)
     {
         bggInfoRepository = new BoardGameGeekInfoRepository(context);
     }
     return bggInfoRepository;
 }
 public BoardGameGeekInfoManager(IBoardGameGeekEngine engine, IUnitOfWork unitOfWork)
 {
     this.engine = engine;
     this.unitOfWork = unitOfWork;
     this.bggRepo = unitOfWork.GetBoardGameGeekInfoRepository();
 }