diff --git a/SushiBar/SushiBar/Forms/FormComponentsLogic.cs b/SushiBar/SushiBar/Forms/FormComponentsLogic.cs
index 73c5f5b..7943174 100644
--- a/SushiBar/SushiBar/Forms/FormComponentsLogic.cs
+++ b/SushiBar/SushiBar/Forms/FormComponentsLogic.cs
@@ -1,7 +1,6 @@
using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
using Microsoft.Extensions.Logging;
-using SushiView;
namespace SushiBar.Forms
{
diff --git a/SushiBar/SushiBar/Forms/FormMain.Designer.cs b/SushiBar/SushiBar/Forms/FormMain.Designer.cs
index 1de243a..2a6b24a 100644
--- a/SushiBar/SushiBar/Forms/FormMain.Designer.cs
+++ b/SushiBar/SushiBar/Forms/FormMain.Designer.cs
@@ -159,14 +159,11 @@
private DataGridView dataGridView;
private MenuStrip menuStrip1;
- private ToolStripMenuItem SushiToolStripMenuItem;
private Button buttonCreateOrder;
private Button buttonTakeOrderInWork;
private Button buttonOrderReady;
private Button buttonIssuedOrder;
private Button buttonRef;
- private ToolStripMenuItem сушиToolStripMenuItem;
- private ToolStripMenuItem компонентыToolStripMenuItem;
private ToolStripMenuItem ToolStripMenuItem;
private ToolStripMenuItem sushiToolStripMenuItem;
private ToolStripMenuItem componentsToolStripMenuItem;
diff --git a/SushiBar/SushiBar/Forms/FormMainLogic.cs b/SushiBar/SushiBar/Forms/FormMainLogic.cs
index bc3e58a..a617c62 100644
--- a/SushiBar/SushiBar/Forms/FormMainLogic.cs
+++ b/SushiBar/SushiBar/Forms/FormMainLogic.cs
@@ -2,7 +2,6 @@
using SushiBarBusinessLogic.BusinessLogics;
using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
-using SushiView;
using System.Windows.Forms;
namespace SushiBar.Forms
diff --git a/SushiBar/SushiBar/Forms/FormSushiLogic.cs b/SushiBar/SushiBar/Forms/FormSushiLogic.cs
index a7d0cf2..a87d886 100644
--- a/SushiBar/SushiBar/Forms/FormSushiLogic.cs
+++ b/SushiBar/SushiBar/Forms/FormSushiLogic.cs
@@ -3,7 +3,6 @@ using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
using SushiBarContracts.SearchModels;
using SushiBarDataModels.Models;
-using SushiView;
namespace SushiBar.Forms
{
diff --git a/SushiBar/SushiBar/Forms/FormSushisLogic.cs b/SushiBar/SushiBar/Forms/FormSushisLogic.cs
index 1b789c3..7e0904e 100644
--- a/SushiBar/SushiBar/Forms/FormSushisLogic.cs
+++ b/SushiBar/SushiBar/Forms/FormSushisLogic.cs
@@ -1,13 +1,6 @@
using Microsoft.Extensions.Logging;
using SushiBarContracts.BindingModels;
using SushiBarContracts.BusinessLogicsContracts;
-using SushiView;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
namespace SushiBar.Forms
{
diff --git a/SushiBar/SushiBar/Program.cs b/SushiBar/SushiBar/Program.cs
index 74ce596..0627eda 100644
--- a/SushiBar/SushiBar/Program.cs
+++ b/SushiBar/SushiBar/Program.cs
@@ -1,20 +1,20 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
+using SushiBar.Forms;
using SushiBarBusinessLogic.BusinessLogics;
using SushiBarContracts.BusinessLogicsContracts;
using SushiBarContracts.StoragesContracts;
using SushiBarListImplement.Implements;
-using SushiBar.Forms;
-namespace SushiView
+namespace SushiBar
{
internal static class Program
{
private static ServiceProvider? _serviceProvider;
public static ServiceProvider? ServiceProvider => _serviceProvider;
///
- /// The main entry point for the application.
+ /// The main entry point for the application.
///
[STAThread]
static void Main()
@@ -25,9 +25,6 @@ namespace SushiView
var services = new ServiceCollection();
ConfigureServices(services);
_serviceProvider = services.BuildServiceProvider();
-
- ILogger logger = _serviceProvider.GetService();
-
Application.Run(_serviceProvider.GetRequiredService());
}
private static void ConfigureServices(ServiceCollection services)
@@ -51,6 +48,7 @@ namespace SushiView
services.AddTransient();
services.AddTransient();
services.AddTransient();
+ services.AddTransient();
}
}
-}
\ No newline at end of file
+}
diff --git a/SushiBar/SushiBar/nlog.config b/SushiBar/SushiBar/nlog.config
index af70d20..aad59db 100644
--- a/SushiBar/SushiBar/nlog.config
+++ b/SushiBar/SushiBar/nlog.config
@@ -1,13 +1,11 @@
-
+
-
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ autoReload="true" internalLogLevel="Info">
-
+
-