public CardsController(ICardDataRepository cardData, ISetDataRepository setData, IDeckDataRepository deckData, IRegexRepository regex) { _cardData = cardData; _setData = setData; _deckData = deckData; _regex = regex; }
public RegexService(IUnitOfWork unit, IRegexRepository regexRepository, IMapperFactory mapperFactory) { _uow = unit; _regexRepository = regexRepository; _mapper = mapperFactory.GetMapper(typeof(CoreServices).Name); }