From 890f11f6d4e03f572566795d270eaa5e7ef9dbd0 Mon Sep 17 00:00:00 2001 From: ekallin Date: Mon, 25 Mar 2024 09:56:01 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B1=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B8=20=D1=84?= =?UTF-8?q?=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/Program.cs | 2 +- SushiBarDatabaseImplement/Implements/OrderStorage.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SushiBar/Program.cs b/SushiBar/Program.cs index a86d1b0..cd9022b 100644 --- a/SushiBar/Program.cs +++ b/SushiBar/Program.cs @@ -7,7 +7,7 @@ using SushiBarBusinessLogic.OfficePackage; using SushiBarBusinessLogic.OfficePackage.Implements; using SushiBarContracts.BusinessLogicsContracts; using SushiBarContracts.StoragesContracts; -using SushiBarFileImplement.Implements; +using SushiBarDatabaseImplement.Implements; using SushiBarView; using SushiBarView.Reports; using System.Text; diff --git a/SushiBarDatabaseImplement/Implements/OrderStorage.cs b/SushiBarDatabaseImplement/Implements/OrderStorage.cs index e197396..82bfce6 100644 --- a/SushiBarDatabaseImplement/Implements/OrderStorage.cs +++ b/SushiBarDatabaseImplement/Implements/OrderStorage.cs @@ -17,9 +17,8 @@ namespace SushiBarDatabaseImplement.Implements public List GetFilteredList(OrderSearchModel model) { - using var context = new SecuritySystemDatabase(); + using var context = new SushiBarDatabase(); var orders = context.Orders - .Include(x => x.Secure) .Select(x => x.GetViewModel) .ToList(); if (model.Id.HasValue)