public SearchController(IMtgHttpClient mtgHttpClient, IMapper mapper, IManaCostConverter manaCostConverter, ILogger <SearchController> logger) { _mtgHttpClient = mtgHttpClient; _mapper = mapper; _manaCostConverter = manaCostConverter; _logger = logger; }
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; }