File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using CanBeYours . Infrastructure ;
2- using CodeBlock . DevKit . Application . Extensions ;
32using CodeBlock . DevKit . Clients . AdminPanel ;
43
54namespace CanBeYours . AdminPanel ;
@@ -10,8 +9,6 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
109 {
1110 builder . AddAdminPanelClientModule ( typeof ( Startup ) ) ;
1211 builder . Services . AddInfrastructureModule ( ) ;
13- builder . Services . RegisterHandlers ( typeof ( Startup ) ) ;
14- builder . Services . RegisterUIModule ( typeof ( Startup ) . Assembly ) ;
1512
1613 return builder . Build ( ) ;
1714 }
@@ -20,6 +17,7 @@ public static WebApplication ConfigurePipeline(this WebApplication app)
2017 {
2118 app . UseAdminPanelClientModule ( ) ;
2219 app . Services . UseInfrastructureModule ( ) ;
20+
2321 return app ;
2422 }
2523}
Original file line number Diff line number Diff line change 11using CanBeYours . Infrastructure ;
2- using CodeBlock . DevKit . Application . Extensions ;
32using CodeBlock . DevKit . Clients . Api ;
43
54namespace CanBeYours . Api ;
@@ -10,8 +9,6 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
109 {
1110 builder . AddApiClientModule ( typeof ( Startup ) ) ;
1211 builder . Services . AddInfrastructureModule ( ) ;
13- builder . Services . RegisterHandlers ( typeof ( Startup ) ) ;
14- builder . Services . RegisterApiModule ( typeof ( Startup ) . Assembly ) ;
1512
1613 return builder . Build ( ) ;
1714 }
Original file line number Diff line number Diff line change 11using CanBeYours . Infrastructure ;
2- using CodeBlock . DevKit . Application . Extensions ;
32using CodeBlock . DevKit . Clients . WebApp ;
43
54namespace CanBeYours . WebApp ;
@@ -10,8 +9,6 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
109 {
1110 builder . AddWebAppClientModule ( typeof ( Startup ) ) ;
1211 builder . Services . AddInfrastructureModule ( ) ;
13- builder . Services . RegisterHandlers ( typeof ( Startup ) ) ;
14- builder . Services . RegisterUIModule ( typeof ( Startup ) . Assembly ) ;
1512
1613 return builder . Build ( ) ;
1714 }
You can’t perform that action at this time.
0 commit comments