Example #1
0
 //
 // GET: /Word/
 public WordController(IAuthService authService, IWordRepository wordRepository, IAccountRepository accountRepository, ILanguageInfosRepository languageInfosRepository, IDictionaryRepository dictionaryRepository, ITranslationRepository translationRepository)
 {
     _authService = authService;
     _wordRepository = wordRepository;
     _accountRepository = accountRepository;
     _dictionaryRepository = dictionaryRepository;
     _translationRepository = translationRepository;
     _languageInfosRepository = languageInfosRepository;
 }
 public DictionaryController(IDictionaryRepository dictionaryRepository, IAuthService accountRepository, ILanguageInfosRepository languageInfosRepository)
 {
     _dictionaryRepository = dictionaryRepository;
     _authService = accountRepository;
     _languageInfosRepository = languageInfosRepository;
 }