фикс удаления
This commit is contained in:
parent
862baf93b6
commit
b2c61a619a
@ -79,7 +79,7 @@ namespace LawFirmFileImplement.Implements
|
||||
{
|
||||
return null;
|
||||
}
|
||||
blank.Update(model);
|
||||
source.Blanks.Remove(blank);
|
||||
source.SaveBlanks();
|
||||
return blank.GetViewModel;
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements
|
||||
{
|
||||
return null;
|
||||
}
|
||||
document.Update(model);
|
||||
source.Documents.Remove(document);
|
||||
source.SaveDocuments();
|
||||
return document.GetViewModel;
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements
|
||||
{
|
||||
return null;
|
||||
}
|
||||
order.Update(model);
|
||||
source.Orders.Remove(order);
|
||||
source.SaveOrders();
|
||||
return order.GetViewModel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user