public CardCollectionService(
            ICardCollectionRepository cardCollectionRepository,
            ICardRepository cardRepository,
            IDataMapper <CardCollectionData, CardCollectionModel> cardCollectionDataMapper
            )
        {
            _cardCollectionRepository = cardCollectionRepository;
            _cardRepository           = cardRepository;

            _cardCollectionDataMapper = cardCollectionDataMapper;
        }
示例#2
0
        public DeckService(
            ICardCollectionRepository cardCollectionRepository,
            ICardRepository cardRepository,
            IDeckRepository deckRepository,
            IDataMapper <DeckData, DeckModel> deckDataMapper
            )
        {
            _cardCollectionRepository = cardCollectionRepository;
            _cardRepository           = cardRepository;
            _deckRepository           = deckRepository;

            _deckDataMapper = deckDataMapper;
        }