Example #1
0
 public PrivacyService(
     IConditionalExpressionService expressionService,
     IPrivacyDomainRepository privacyDomainRepository,
     IPrivacyPolicyRepository privacyPolicyRepository)
 {
     _expressionService       = expressionService;
     _privacyDomainRepository = privacyDomainRepository;
     _privacyPolicyRepository = privacyPolicyRepository;
 }
 public PrivacyService(
     ConditionalExpressionService expressionService,
     IPrivacyDomainRepository privacyDomainRepository,
     IPrivacyPolicyRepository privacyPolicyRepository,
     ILogger <PrivacyService> logger)
 {
     _expressionService       = expressionService;
     _privacyDomainRepository = privacyDomainRepository;
     _privacyPolicyRepository = privacyPolicyRepository;
     _logger = logger;
 }
 public AccessControlPrivacyService(
     IAccessControlPolicyRepository accessControlPolicyRepository,
     IConditionalExpressionService expressionService,
     IPrivacyDomainRepository privacyFunctionRepository,
     IPrivacyPolicyRepository privacyPolicyRepository)
 {
     _accessControlPolicyRepository = accessControlPolicyRepository;
     _expressionService             = expressionService;
     _privacyFunctionRepository     = privacyFunctionRepository;
     _privacyPolicyRepository       = privacyPolicyRepository;
 }
Example #4
0
 public void ResourseInitialize()
 {
     _resourseRepository           = new ResourseRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _trainingAndSeminarRepository = new TrainingAndSeminarRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _accreditationRepository      = new AccreditationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _CertificationRepository      = new CertificationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _termsConditionRepository     = new TermsConditionRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _privacyPolicyRepository      = new PrivacyPolicyRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _newsLetterRepository         = new NewsLetterRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _returnPolicyRepository       = new ReturnPolicyRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _deliveryTermRepository       = new DeliveryTermRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _organizationRepository       = new OrganizationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _resourseBL = new ResourceImpl(_resourseRepository, _trainingAndSeminarRepository, _accreditationRepository, _privacyPolicyRepository, _termsConditionRepository, _newsLetterRepository, _returnPolicyRepository, _deliveryTermRepository, _CertificationRepository, _organizationRepository);
 }
Example #5
0
 public PrivacyPolicyController(
     ISecurityService securityService,
     ISubjectRepository subjectRepository,
     IResourceRepository resourceRepository,
     IConditionalExpressionService conditionalExpressionService,
     IPrivacyPolicyRepository privacyPolicyRepository,
     IPrivacyService privacyService,
     IPrivacyDomainRepository privacyDomainRepository)
 {
     _securityService              = securityService;
     _subjectRepository            = subjectRepository;
     _resourceRepository           = resourceRepository;
     _conditionalExpressionService = conditionalExpressionService;
     _privacyPolicyRepository      = privacyPolicyRepository;
     _privacyService          = privacyService;
     _privacyDomainRepository = privacyDomainRepository;
 }
Example #6
0
 public ResourceImpl(IResourceRepository resourseRepository
                     , ITrainingAndSeminarRepository trainingAndSeminarRepository
                     , IAccreditationRepository accreditationRepository
                     , IPrivacyPolicyRepository privacyPolicyRepository
                     , ITermsConditionRepository termsConditionRepository
                     , INewsLetterRepository newsLetterRepository
                     , IReturnPolicyRepository returnPolicyRepository
                     , IDeliveryTermRepository deliveryTermRepository
                     , ICertificationRepository certificationRepository
                     , IOrganizationRepository organizationRepository)
 {
     _resourseRepository           = resourseRepository;
     _trainingAndSeminarRepository = trainingAndSeminarRepository;
     _accreditationRepository      = accreditationRepository;
     _privacyPolicyRepository      = privacyPolicyRepository;
     _termsConditionRepository     = termsConditionRepository;
     _newsLetterRepository         = newsLetterRepository;
     _returnPolicyRepository       = returnPolicyRepository;
     _deliveryTermRepository       = deliveryTermRepository;
     _certificationRepository      = certificationRepository;
     _organizationRepository       = organizationRepository;
 }