public void RenameNoteBook(WordNoteViewModel viewmodelitem) { WordNoteBookHelper.DeleteByID(viewmodelitem.ID); WordNoteViewModelCollection.Remove(viewmodelitem); }
public void Delete(WordNoteViewModel viewmodelitem) { WordNoteHelper.Delete(viewmodelitem.ID); WordNoteViewModelCollection.Remove(viewmodelitem); }