diff --git a/LawFirm/LawFirmFileImplement/Implements/BlankStorage.cs b/LawFirm/LawFirmFileImplement/Implements/BlankStorage.cs index 47b885b..bb10978 100644 --- a/LawFirm/LawFirmFileImplement/Implements/BlankStorage.cs +++ b/LawFirm/LawFirmFileImplement/Implements/BlankStorage.cs @@ -79,7 +79,7 @@ namespace LawFirmFileImplement.Implements { return null; } - blank.Update(model); + source.Blanks.Remove(blank); source.SaveBlanks(); return blank.GetViewModel; } diff --git a/LawFirm/LawFirmFileImplement/Implements/DocumentStorage.cs b/LawFirm/LawFirmFileImplement/Implements/DocumentStorage.cs index 7629dfa..dd74260 100644 --- a/LawFirm/LawFirmFileImplement/Implements/DocumentStorage.cs +++ b/LawFirm/LawFirmFileImplement/Implements/DocumentStorage.cs @@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements { return null; } - document.Update(model); + source.Documents.Remove(document); source.SaveDocuments(); return document.GetViewModel; } diff --git a/LawFirm/LawFirmFileImplement/Implements/OrderStorage.cs b/LawFirm/LawFirmFileImplement/Implements/OrderStorage.cs index baee8c5..46a8d01 100644 --- a/LawFirm/LawFirmFileImplement/Implements/OrderStorage.cs +++ b/LawFirm/LawFirmFileImplement/Implements/OrderStorage.cs @@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements { return null; } - order.Update(model); + source.Orders.Remove(order); source.SaveOrders(); return order.GetViewModel; }