public void Setup() { _gdprService = Resolve <IGdprService>(); _userService = Resolve <IUserService>(); _consentService = Resolve <IConsentService>(); _consentGroupService = Resolve <IConsentGroupService>(); }
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; }