refactoring
This commit is contained in:
parent
8e209b8c4a
commit
63650d46bf
@ -23,9 +23,7 @@ namespace Pizzeria
|
|||||||
ConfigureServices(services);
|
ConfigureServices(services);
|
||||||
|
|
||||||
_serviceProvider = services.BuildServiceProvider();
|
_serviceProvider = services.BuildServiceProvider();
|
||||||
FormMain test = _serviceProvider.GetService<FormMain>();
|
Application.Run(_serviceProvider.GetService<FormMain>());
|
||||||
//Application.Run(_serviceProvider.GetService<FormMain>());
|
|
||||||
Application.Run(test);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void ConfigureServices(IServiceCollection services)
|
private static void ConfigureServices(IServiceCollection services)
|
||||||
|
Loading…
Reference in New Issue
Block a user