Пример #1
0
        private void RegisterBuisnessPart(IServiceCollection services)
        {
            IdentityConfigurator.Configure(services, _connectionString);
            EmailSenderConfigurator.Configure(services, _configuration);

            services.AddTransient <IOrderManager, OrderManager>();
            services.AddTransient <ICountryManager, CountryManager>();
            services.AddTransient <ITourManager, TourManager>();
            services.AddTransient <IPromotionManager, PromotionManager>();
            services.AddTransient <IImageManager, ImageManager>();
        }
Пример #2
0
 private void RegisterBuisnessPart(IServiceCollection services)
 {
     EmailSenderConfigurator.Configure(services, _configuration);
 }