Skip to content

Commit

Permalink
feat(templates): remove unnecessary AddApplicationPart method call in…
Browse files Browse the repository at this point in the history
… Boilerplate #8556 (#8644)
  • Loading branch information
ysmoradi authored Sep 14, 2024
1 parent d8ef135 commit de8c80d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ public static void ConfigureApiServices(this WebApplicationBuilder builder)

services
.AddControllers()
//#if (api == "Integrated")
.AddApplicationPart(typeof(AppControllerBase).Assembly)
//#endif
.AddOData(options => options.EnableQueryFeatures())
.AddDataAnnotationsLocalization(options => options.DataAnnotationLocalizerProvider = StringLocalizerProvider.ProvideLocalizer)
.ConfigureApiBehaviorOptions(options =>
Expand Down

0 comments on commit de8c80d

Please sign in to comment.