add xBotUser Registration in DI ...
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Linq;
|
||||
using xTagService.DI;
|
||||
using xBotService.DI;
|
||||
using xDataService.DI;
|
||||
using xFileService.DI;
|
||||
using xPushService.DI;
|
||||
@@ -194,6 +195,12 @@ namespace xServices.DI
|
||||
isDevelopmentEnvironment: isDevelopmentEnvironment
|
||||
);
|
||||
|
||||
//
|
||||
// Using Bot Service ...
|
||||
app.UseXBotService(
|
||||
isDevelopmentEnvironment: isDevelopmentEnvironment
|
||||
);
|
||||
|
||||
//
|
||||
// Using Terms and Conditions Service ...
|
||||
app.UseXTermsAndConditionsService();
|
||||
@@ -338,6 +345,13 @@ namespace xServices.DI
|
||||
repositoryType: repositoryType
|
||||
);
|
||||
|
||||
//
|
||||
// Register Bot Service ...
|
||||
services.AddXBotService<XApiDbContext>(
|
||||
lifeTime: lifeTime,
|
||||
repositoryType: repositoryType
|
||||
);
|
||||
|
||||
//
|
||||
// Register File Service ...
|
||||
services.AddXFileService<XApiDbContext>(
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using xDataService.Db;
|
||||
using xTagService.Providers;
|
||||
using xBotService.Providers;
|
||||
using xDataService.Providers;
|
||||
using xFileService.Providers;
|
||||
using xStringService.Providers;
|
||||
@@ -36,6 +37,7 @@ namespace xServices.Databases
|
||||
nameof(XTagEntityRegisterar),
|
||||
nameof(XFileEntityRegisterar),
|
||||
nameof(XStringEntityRegisterar),
|
||||
nameof(XBotUserEntityRegisterar),
|
||||
nameof(XContentEntityRegisterar),
|
||||
nameof(XWebinarEntityRegisterar),
|
||||
nameof(XCategoryEntityRegisterar),
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<!-- Project Dependencies -->
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\xCommons\xCommons.csproj" />
|
||||
<ProjectReference Include="..\xBotService\xBotService.csproj" />
|
||||
<ProjectReference Include="..\xDataService\xDataService.csproj" />
|
||||
<ProjectReference Include="..\xPushService\xPushService.csproj" />
|
||||
<!-- <ProjectReference Include="..\XAiService\XAiService.csproj" /> -->
|
||||
|
||||
Reference in New Issue
Block a user