diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Api/Program.Services.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Api/Program.Services.cs index 4d6ea7090a..baeec8d659 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Api/Program.Services.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Api/Program.Services.cs @@ -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 =>