From 63650d46bfb70811e42398dcac622cf0daa34f05 Mon Sep 17 00:00:00 2001 From: MaxKarme <91691525+MaxKarme@users.noreply.github.com> Date: Tue, 14 Feb 2023 08:06:33 +0300 Subject: [PATCH] refactoring --- Pizzeria/Pizzeria/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Pizzeria/Pizzeria/Program.cs b/Pizzeria/Pizzeria/Program.cs index 4ad8733..6905fbb 100644 --- a/Pizzeria/Pizzeria/Program.cs +++ b/Pizzeria/Pizzeria/Program.cs @@ -23,9 +23,7 @@ namespace Pizzeria ConfigureServices(services); _serviceProvider = services.BuildServiceProvider(); - FormMain test = _serviceProvider.GetService(); - //Application.Run(_serviceProvider.GetService()); - Application.Run(test); + Application.Run(_serviceProvider.GetService()); } private static void ConfigureServices(IServiceCollection services)