last ...
This commit is contained in:
@@ -17,6 +17,7 @@ using xServices.Interfaces;
|
||||
using xServices.Providers;
|
||||
using xStorageService.DI;
|
||||
using xStringService.DI;
|
||||
using xTermsAndConditionsService.DI;
|
||||
|
||||
namespace xServices.DI
|
||||
{
|
||||
@@ -187,6 +188,10 @@ namespace xServices.DI
|
||||
app.UseXStringService(
|
||||
isDevelopmentEnvironment: isDevelopmentEnvironment
|
||||
);
|
||||
|
||||
//
|
||||
// Using Terms and Conditions Service ...
|
||||
app.UseXTermsAndConditionsService();
|
||||
}
|
||||
|
||||
//
|
||||
@@ -274,11 +279,18 @@ namespace xServices.DI
|
||||
#endregion
|
||||
|
||||
//
|
||||
// String Service ...
|
||||
// Register String Service ...
|
||||
services.AddXStringService<XApiDbContext>(
|
||||
lifeTime: lifeTime,
|
||||
repositoryType: xDataService.Constants.XRepositoryType.EF
|
||||
);
|
||||
|
||||
//
|
||||
// Register Terms and Conditions Service ...
|
||||
services.AddXTermsConditionsService(
|
||||
lifeTime: lifeTime,
|
||||
configuration: configuration
|
||||
);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user