Mochalov D.V. LabWork07_Hard #15

Closed
b0n3l3sS wants to merge 12 commits from LabWork07_Hard into LabWork06_Hard
2 changed files with 1 additions and 5 deletions
Showing only changes of commit 356571305e - Show all commits

View File

@ -106,7 +106,7 @@ namespace LawFirmBusinessLogic.BusinessLogics
});
}
private async Task RunOrderInWork(ImplementerViewModel implementer, List<OrderViewModel> allOrders)
private async Task RunOrderInWork(ImplementerViewModel implementer)
{
if (_orderLogic == null || implementer == null || allOrders == null || allOrders.Count == 0)
{

View File

@ -16,10 +16,6 @@ namespace LawFirmDatabaseImplement.Implements
{
public OrderViewModel? GetElement(OrderSearchModel model)
{
if (!model.Id.HasValue)
{
return null;
}
using var context = new LawFirmDatabase();
return context.Orders
.Include(x => x.Document)