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); }
public static DIHelper AddNotifyDbContext(this DIHelper services) { return(services.AddDbContextManagerService <NotifyDbContext>()); }
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>()); }
public static DIHelper AddWebstudioDbContextService(this DIHelper services) { return(services.AddDbContextManagerService <WebstudioDbContext>()); }
public static DIHelper AddTelegramDbContextService(this DIHelper services) { return(services.AddDbContextManagerService <TelegramDbContext>()); }
public static DIHelper AddCalendarDbContextService(this DIHelper services) { return(services.AddDbContextManagerService <CalendarDbContext>()); }
public static DIHelper AddBackupsContext(this DIHelper services) { return(services.AddDbContextManagerService <BackupsContext>()); }
public static DIHelper AddAuditTrailContextService(this DIHelper services) { return(services.AddDbContextManagerService <AuditTrailContext>()); }