refactoring

This commit is contained in:
MaxKarme 2023-02-14 08:06:33 +03:00
parent 8e209b8c4a
commit 63650d46bf

View File

@ -23,9 +23,7 @@ namespace Pizzeria
ConfigureServices(services);
_serviceProvider = services.BuildServiceProvider();
FormMain test = _serviceProvider.GetService<FormMain>();
//Application.Run(_serviceProvider.GetService<FormMain>());
Application.Run(test);
Application.Run(_serviceProvider.GetService<FormMain>());
}
private static void ConfigureServices(IServiceCollection services)