public static WordNoteModel Add(string _word, int _wordnotebookid, string sourcelanguage, string targetlanguage) { var newitem = new WordNoteModel() { Word = _word, WordNoteBookID = _wordnotebookid, SourceLanguage = sourcelanguage, TargetLanguage = targetlanguage }; SQLManager.Add(newitem); return(newitem); }
public static void Update(WordNoteModel updatingTaskModel) { SQLManager.Update(updatingTaskModel); }