фикс удаления

This commit is contained in:
Данила Мочалов 2023-02-26 23:22:27 +04:00
parent 862baf93b6
commit b2c61a619a
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ namespace LawFirmFileImplement.Implements
{
return null;
}
blank.Update(model);
source.Blanks.Remove(blank);
source.SaveBlanks();
return blank.GetViewModel;
}

View File

@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements
{
return null;
}
document.Update(model);
source.Documents.Remove(document);
source.SaveDocuments();
return document.GetViewModel;
}

View File

@ -78,7 +78,7 @@ namespace LawFirmFileImplement.Implements
{
return null;
}
order.Update(model);
source.Orders.Remove(order);
source.SaveOrders();
return order.GetViewModel;
}