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>(
|
||||
|
||||
Reference in New Issue
Block a user