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)); }
public void Configure(string name, TariffService options) { Configure(options); options.QuotaService = QuotaService.Get(name); options.TenantService = TenantService.Get(name); options.CoreDbContext = CoreDbContextManager.Get(name); }