Пример #1
0
 public WordController(IGetWord _getWord, IAddWord _addWord, IUpdateWord _updateWord, IDeleteWord _deleteWord, IGetWordLevel _wordLevel)
 {
     getWord    = _getWord;
     addWord    = _addWord;
     updateWord = _updateWord;
     deleteWord = _deleteWord;
     wordLevel  = _wordLevel;
 }
 public HelloWordRepository(IGetWord getWord, ISaveWord saveWord)
 {
     _getWord  = getWord;
     _saveWord = saveWord;
 }