Balberova D.N. LabWork03 #4

Closed
august wants to merge 7 commits from LabWork03 into LabWork02
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)
{