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