Пример #1
0
 public void Configure(string name, TariffService options)
 {
     Configure(options);
     options.QuotaService      = QuotaService.Get(name);
     options.TenantService     = TenantService.Get(name);
     options.LazyCoreDbContext = new Lazy <CoreDbContext>(() => CoreDbContextManager.Get(name));
 }
Пример #2
0
 public void Configure(string name, TariffService options)
 {
     Configure(options);
     options.QuotaService  = QuotaService.Get(name);
     options.TenantService = TenantService.Get(name);
     options.CoreDbContext = CoreDbContextManager.Get(name);
 }