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