ЛР3
This commit is contained in:
parent
3f49eade0f
commit
9450ae2f6f
@ -93,6 +93,7 @@ namespace SushiBarDatabaseImplement.Implements
|
||||
using var context = new SushiBarDatabase();
|
||||
var element = context.SushiList
|
||||
.Include(x => x.Ingredients)
|
||||
.Include(x => x.Orders)
|
||||
.FirstOrDefault(rec => rec.Id == model.Id);
|
||||
if (element != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user