diff --git a/SushiBar/SushiBarDatabaseImplement/Implements/SushiStorage.cs b/SushiBar/SushiBarDatabaseImplement/Implements/SushiStorage.cs index 8c378c7..6f85ecb 100644 --- a/SushiBar/SushiBarDatabaseImplement/Implements/SushiStorage.cs +++ b/SushiBar/SushiBarDatabaseImplement/Implements/SushiStorage.cs @@ -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) {