Example #1
0
        public void Configure(IApplicationBuilder app)
        {
            if (HostingEnvironment.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            SwaggerConfig.ConfigureApp(app, HostingEnvironment);
            MvcConfig.ConfigureApp(app);
        }
Example #2
0
 public void ConfigureServices(IServiceCollection services)
 {
     MvcConfig.ConfigureServices(services);
     SwaggerConfig.ConfigureServices(services, HostingEnvironment);
 }