예제 #1
0
 public void ConfigureServices(IServiceCollection services)
 {
     services.AddControllersWithViews();
     services.AddRazorPages();
     services.AddAutoMapper(typeof(Startup));
     DependencyContainerRegistrations.Common(services);
 }
예제 #2
0
 public void ConfigureServices(IServiceCollection services)
 {
     ConfigureServicesBase.ConfigureServices(services);
     ConfigureServicesAuthentication.ConfigureService(services);
     ConfigureServicesControllers.ConfigureServices(services);
     DependencyContainerRegistrations.Common(services);
 }
 public void ConfigureServices(IServiceCollection services)
 {
     ConfigureServicesBase.ConfigureServices(services, Configuration);
     ConfigureServicesMassTransitRabbitMq.ConfigureService(services, Configuration);
     ConfigureServicesControllers.ConfigureServices(services);
     DependencyContainerRegistrations.Common(services);
 }