示例#1
0
 public void Setup()
 {
     _gdprService         = Resolve <IGdprService>();
     _userService         = Resolve <IUserService>();
     _consentService      = Resolve <IConsentService>();
     _consentGroupService = Resolve <IConsentGroupService>();
 }
示例#2
0
 public GdprController(IConsentService consentService, IGdprModelFactory gdprModelFactory, IConsentGroupService consentGroupService, IModelMapper modelMapper, IConsentLogService consentLogService, ICryptographyService cryptographyService, IUserService userService)
 {
     _consentService      = consentService;
     _gdprModelFactory    = gdprModelFactory;
     _consentGroupService = consentGroupService;
     _modelMapper         = modelMapper;
     _consentLogService   = consentLogService;
     _cryptographyService = cryptographyService;
     _userService         = userService;
 }