public EmailSaveService(IDataAccess dataAccess, IEmailQueryService emailQueryService)
        {
            _dataAccess        = dataAccess;
            _emailQueryService = emailQueryService;

            var emailConfig = new MapperConfiguration(m => m.CreateMap <DataLayer.Entities.Profile.Email, EmailData>().ReverseMap());

            _emailMapper = new Mapper(emailConfig);
        }
Exemple #2
0
 public ProfileViewService(IDataAccess dataAccess, IEducationQueryService educationQueryService, IEmailQueryService emailQueryService, IEmployerQueryService employerQueryService, IPhoneQueryService phoneQueryService, IProfilePhotoQueryService profilePhotoQueryService, IQuoteQueryService quoteQueryService)
 {
     _dataAccess               = dataAccess;
     _educationQueryService    = educationQueryService;
     _emailQueryService        = emailQueryService;
     _employerQueryService     = employerQueryService;
     _phoneQueryService        = phoneQueryService;
     _profilePhotoQueryService = profilePhotoQueryService;
     _quoteQueryService        = quoteQueryService;
 }
 public ProfileController(
     IProfileViewService profileViewService, IEducationSaveService educationSaveService, IEducationQueryService educationQueryService, IEmailQueryService emailQueryService, IEmailSaveService emailSaveService, IEmployerSaveService employerSaveService, IEmployerQueryService employerQueryService, IPhoneQueryService phoneQueryService, IPhoneSaveService phoneSaveService, IProfilePhotoSaveService profilePhotoSaveService, IQuoteQueryService quoteQueryService, IQuoteSaveService quoteSaveService)
 {
     _profileViewService      = profileViewService;
     _educationSaveService    = educationSaveService;
     _educationQueryService   = educationQueryService;
     _emailQueryService       = emailQueryService;
     _emailSaveService        = emailSaveService;
     _employerSaveService     = employerSaveService;
     _employerQueryService    = employerQueryService;
     _phoneQueryService       = phoneQueryService;
     _phoneSaveService        = phoneSaveService;
     _profilePhotoSaveService = profilePhotoSaveService;
     _quoteQueryService       = quoteQueryService;
     _quoteSaveService        = quoteSaveService;
 }
Exemple #4
0
 public EmailSentimentController(IEmailQueryService emailQueryService)
 {
     _emailQueryService = emailQueryService;
 }