refactoring
This commit is contained in:
parent
8e209b8c4a
commit
63650d46bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user