Пример #1
0
 public GameRepo(CardsAgainstAPIContext cardsAgainstAPIContext, IDeckRepo deckRepo)
 {
     this._cardsAgainstAPIContext = cardsAgainstAPIContext;
     this._deckRepo = deckRepo;
 }
 public DecksController(IDeckRepo _deckRepo, IMapper _mapper, CardsAgainstHumanityAPIContext context)
 {
     _context      = context;
     this.deckRepo = _deckRepo;
     this.mapper   = _mapper;
 }
Пример #3
0
 public DeckService(IDeckRepo deckRepo, ILoggerManager logger)
 {
     _deckRepo = deckRepo;
     _logger   = logger;
 }
 public GameController(IGameRepo gameRepo, IDeckRepo deckRepo)
 {
     this._gameRepo = gameRepo;
     this._deckRepo = deckRepo;
 }