Esempio n. 1
0
        public static DIHelper AddVoipDaoService(this DIHelper services)
        {
            if (services.TryAddScoped <VoipDao, CachedVoipDao>())
            {
                services.TryAddSingleton <VoipDaoCache>();

                return(services
                       .AddDbContextManagerService <VoipDbContext>()
                       .AddAuthContextService()
                       .AddTenantUtilService()
                       .AddSecurityContextService()
                       .AddBaseCommonLinkUtilityService()
                       .AddConsumerFactoryService());
            }

            return(services);
        }
Esempio n. 2
0
 public static DIHelper AddNotifyDbContext(this DIHelper services)
 {
     return(services.AddDbContextManagerService <NotifyDbContext>());
 }
Esempio n. 3
0
 public static DIHelper AddVoipDbContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <VoipDbContext>());
 }
 public static DIHelper AddResourceDbService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <ResourceDbContext>());
 }
 public static DIHelper AddAccountLinkContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <AccountLinkContext>());
 }
Esempio n. 6
0
 public static DIHelper AddWebstudioDbContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <WebstudioDbContext>());
 }
Esempio n. 7
0
 public static DIHelper AddTelegramDbContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <TelegramDbContext>());
 }
Esempio n. 8
0
 public static DIHelper AddCalendarDbContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <CalendarDbContext>());
 }
Esempio n. 9
0
 public static DIHelper AddBackupsContext(this DIHelper services)
 {
     return(services.AddDbContextManagerService <BackupsContext>());
 }
Esempio n. 10
0
 public static DIHelper AddAuditTrailContextService(this DIHelper services)
 {
     return(services.AddDbContextManagerService <AuditTrailContext>());
 }