Remove Commit method
This commit is contained in:
parent
51fee4ae24
commit
e9a331292a
1 changed files with 1 additions and 6 deletions
|
|
@ -78,7 +78,7 @@ namespace LibationWinForms.AvaloniaUI.ViewModels
|
|||
UserDefinedItem.ItemChanged += UserDefinedItem_ItemChanged;
|
||||
}
|
||||
|
||||
#region detect changes to the model, update the view, and save to database.
|
||||
#region detect changes to the model, update the view.
|
||||
|
||||
/// <summary>
|
||||
/// This event handler receives notifications from the model that it has changed.
|
||||
|
|
@ -113,11 +113,6 @@ namespace LibationWinForms.AvaloniaUI.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>Save edits to the database</summary>
|
||||
public void Commit(string newTags, LiberatedStatus bookStatus, LiberatedStatus? pdfStatus)
|
||||
// MVVM pass-through
|
||||
=> Book.UpdateBook(newTags, bookStatus: bookStatus, pdfStatus: pdfStatus);
|
||||
|
||||
#endregion
|
||||
|
||||
#region Data Sorting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue