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