public MainViewModel(IPonsDictionaryService ponsRestService, ILanguagesTreeService languageTreeService) { _pons = ponsRestService; _languageTree = languageTreeService; // LanguageFrom = _languageTree.LanguageTree.Find(x => x.PonsCode.Equals("de")); LanguageTranslation = LanguageFrom.TranslatesTo.Find(x => x.LanguageTo.PonsCode.Equals("pl")); //LanguageTo = _languageTree.LanguageTree.Find(x => x.PonsCode.Equals("pl")); }
public MainViewModel(IPonsDictionaryService ponsRestService) { _pons = ponsRestService; }