public DictionaryController( IDictionaryRepository dictionaryRepository, IDictionaryViewSettings dictionaryViewSettings) { this.dictionaryRepository = dictionaryRepository; this.dictionaryViewSettings = dictionaryViewSettings; }
public DictionaryViewModel(Dictionary dictionary, IDictionaryViewSettings dictionaryViewSettings) { Dictionary = dictionary; this.dictionaryViewSettings = dictionaryViewSettings; javaScriptSerializer = new JavaScriptSerializer(); }