예제 #1
0
 public SearchController(IMtgHttpClient mtgHttpClient, IMapper mapper, IManaCostConverter manaCostConverter, ILogger <SearchController> logger)
 {
     _mtgHttpClient     = mtgHttpClient;
     _mapper            = mapper;
     _manaCostConverter = manaCostConverter;
     _logger            = logger;
 }
예제 #2
0
 public DeckService(IDeckRepository deckRepository, IManaCostConverter manaCostConverter, ILogger <DeckService> logger, IMtgHttpClient mtgHttpClient, IRepoContext context, IMapper mapper)
 {
     _deckRepository    = deckRepository;
     _manaCostConverter = manaCostConverter;
     _logger            = logger;
     _mtgHttpClient     = mtgHttpClient;
     _context           = context;
     _mapper            = mapper;
 }