public void AddWord(string word, string language) { var dictionary = new DictionaryModel() { Language = language, Word = word }; db.DictionaryModels.Add(dictionary); db.SaveChanges(); }