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>(); }
private void RegisterBuisnessPart(IServiceCollection services) { EmailSenderConfigurator.Configure(services, _configuration); }