исправил заказ
This commit is contained in:
parent
acbd00e76c
commit
68d9226293
@ -36,10 +36,6 @@ namespace SushiBarDatabaseImplement.Implements
|
||||
}
|
||||
public OrderViewModel? GetElement(OrderSearchModel model)
|
||||
{
|
||||
if (!model.Id.HasValue)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
using var context = new SushiBarDatabase();
|
||||
return context.Orders
|
||||
.Include (o => o.Sushi)
|
||||
|
Loading…
Reference in New Issue
Block a user