add support for Terms and Conditions Seeding in Configuration Support ...
This commit is contained in:
@@ -11,6 +11,7 @@ using xIdentityModels.Models;
|
||||
using xPushService.Constants;
|
||||
using xStringService.Interfaces.Dtos;
|
||||
using xStringService.Models.Dtos;
|
||||
using xTermsAndConditionsService.Configuration;
|
||||
using xTermsAndConditionsService.Hubs;
|
||||
using xTermsAndConditionsService.Interfaces;
|
||||
|
||||
@@ -28,6 +29,7 @@ namespace xTermsAndConditionsService.Providers
|
||||
private readonly IHubContext<XTermsHub> hub;
|
||||
private readonly XAppConfiguration appConfiguration;
|
||||
private readonly IXStringServiceProvider stringProvider;
|
||||
private readonly XTermsAndConditionsServiceConfiguration serviceConfiguration;
|
||||
#endregion
|
||||
|
||||
//
|
||||
@@ -35,15 +37,18 @@ namespace xTermsAndConditionsService.Providers
|
||||
public XTermsAndComditionsProvider(
|
||||
XAppConfiguration appConfiguration,
|
||||
IXStringServiceProvider stringProvider,
|
||||
IHubContext<XTermsHub> hub = null,
|
||||
string termsId = "terms"
|
||||
XTermsAndConditionsServiceConfiguration serviceConfiguration,
|
||||
IHubContext<XTermsHub> hub = null
|
||||
)
|
||||
{
|
||||
//
|
||||
this.hub = hub;
|
||||
this.termsId = termsId;
|
||||
this.stringProvider = stringProvider;
|
||||
this.appConfiguration = appConfiguration;
|
||||
this.serviceConfiguration = serviceConfiguration;
|
||||
|
||||
//
|
||||
termsId = serviceConfiguration.ResourceTitle;
|
||||
|
||||
//
|
||||
// Specified roles for Handling Dangerouse Actions ...
|
||||
|
||||
Reference in New Issue
Block a user