Beispiel #1
0
        public WordsCardsController(IJWTService jwtService, IApiHelper apiHealper,
                                    ILogger <WordsCardsController> logger, IWordsCardsService wordsCardsService, IErrorService errorService)
        {
            _apiHealper        = apiHealper;
            _jwtService        = jwtService;
            _logger            = logger;
            _wordsCardsService = wordsCardsService;
            _errorService      = errorService;

            _wordCardReturnFactory = new WordCardReturnFactory();
            _boolResultFactory     = new BoolResultFactory();
        }
Beispiel #2
0
 public WordsListService(IWordsListRepository wordsListRepository, IWordsCardsService wordsCardsService)
 {
     _wordsListRepository = wordsListRepository;
     _wordsCardsService   = wordsCardsService;
 }