Balberova D.N. LabWork03Hard #6

Closed
august wants to merge 19 commits from LabWork03Hard into LabWork02Hard
Showing only changes of commit 9450ae2f6f - Show all commits

View File

@ -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)
{