Ejemplo n.º 1
0
 public UserService(IUserRepository userRepository,
                    IEmailClientAggregate emailClientAggregate,
                    IUserEmailFactory userEmailFactory,
                    IMapper mapper)
 {
     _userRepository       = userRepository;
     _emailClientAggregate = emailClientAggregate;
     _userEmailFactory     = userEmailFactory;
     _mapper = mapper;
 }
Ejemplo n.º 2
0
 public EmailAccountIMapService(IEmailAccountRepository emailAccountRepository,
                                IEmailClientAggregate emailClientAggregate,
                                IImapRepository imapRepository,
                                IMapper mapper,
                                IEmailClientAggregate iEmailClientAggregate)
 {
     _emailAccountRepository = emailAccountRepository;
     _imapRepository         = imapRepository;
     _mapper = mapper;
     _emailClientAggregate = emailClientAggregate;
 }
Ejemplo n.º 3
0
 public UserAggregate(EGrowerContext context,
                      IEmailMessageRepository emailMessageRepository,
                      ISendedEmailMessageRepository sendedEmailMessageRepository,
                      IEmailAccountRepository emailAccountRepository,
                      IEmailClientAggregate emailClientAggregate)
 {
     _context = context;
     _emailMessageRepository       = emailMessageRepository;
     _sendedEmailMessageRepository = sendedEmailMessageRepository;
     _emailAccountRepository       = emailAccountRepository;
     _emailClientAggregate         = emailClientAggregate;
 }
 public SendedEmailMessageService(
     ISendedEmailMessageRepository sendedEmailMessageRepository,
     IEmailAccountRepository emailAccountRepository,
     IEmailClientFactory emailClientFactory,
     IEmailClientAggregate emailClientAggregate,
     IMapper mapper)
 {
     _sendedEmailMessageRepository = sendedEmailMessageRepository;
     _emailAccountRepository       = emailAccountRepository;
     _emailClientFactory           = emailClientFactory;
     _emailClientAggregate         = emailClientAggregate;
     _mapper = mapper;
 }
Ejemplo n.º 5
0
 public EmailAccountService(IEmailAccountRepository emailAccountRepository,
                            IUserRepository userRepository,
                            IEmailClientAggregate emailClientAggregate,
                            IImapRepository imapRepository,
                            ISmtpRepository smtpRepository,
                            IMapper mapper)
 {
     _emailAccountRepository = emailAccountRepository;
     _userRepository         = userRepository;
     _imapRepository         = imapRepository;
     _smtpRepository         = smtpRepository;
     _mapper = mapper;
     _emailClientAggregate = emailClientAggregate;
 }
Ejemplo n.º 6
0
 public EmailMessageService(IEmailMessageRepository emailMessageRepository,
                            IEmailAccountRepository emailAccountRepository,
                            IEmailAccountService emailAccountService,
                            IUserService userService,
                            IUserRepository userRepository,
                            IEmailClientAggregate emailClientAggregate,
                            IMapper mapper)
 {
     _emailMessageRepository = emailMessageRepository;
     _emailAccountRepository = emailAccountRepository;
     _emailAccountService    = emailAccountService;
     _userService            = userService;
     _userRepository         = userRepository;
     _emailClientAggregate   = emailClientAggregate;
     _mapper = mapper;
 }
Ejemplo n.º 7
0
 public EmailClientController(IEmailClientAggregate emailClientAggregate)
 {
     _emailAggregate = emailClientAggregate;
 }