Пример #1
0
        public OwnerRegisterService(
            IOwnerDAL ownerDAL,
            IEmailService emailService,
            IConfiguration configuration,
            IAppSettings settings,
            IOwnerValidationService validation,
            CPFAlreadyValidation cpfAlreadyValidation,
            EmailAlreadyValidation emailAlreadyValidation,
            ConfirmationEmailHtml confirmationEmailHtml
            )
        {
            this.emailService           = emailService;
            this.cpfAlreadyValidation   = cpfAlreadyValidation;
            this.emailAlreadyValidation = emailAlreadyValidation;
            this.confirmationEmailHtml  = confirmationEmailHtml;

            this.ownerDAL   = ownerDAL;
            this.validation = validation;
        }
Пример #2
0
 public OwnerConfirmationService(
     IOwnerDAL ownerDAL,
     ConfirmationEmailHtml confirmationEmailHtml) : base(ownerDAL)
 {
     this.confirmationEmailHtml = confirmationEmailHtml;
 }