merge fix

This commit is contained in:
Данила Мочалов 2023-04-22 10:29:04 +04:00
commit 356571305e
2 changed files with 1 additions and 5 deletions

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)