Ejemplo n.º 1
0
 public AccountService(IAccountViewsModelFactory accountViewsModelFactory, IEmailFactory emailFactory,
                       ILookupRepository lookupRepository, IAccountRepository accountRepository,
                       IFormsAuthenticationService formsAuthentication, IEmployeeOnBoardRepository employeeOnBoardRepository,
                       ISessionStateService session, IProfileRepository profileRepository, IEnvironment environment,
                       IEmploymentHistoryRepository employmentHistoryRepository, ICompanyRepository companyRepository,
                       IEducationHistoryRepository educationHistoryRepository, IUserProfileModelFactory userProfileModelFactory,
                       ISkillSetRepository skillSetRepository, IDigitalFileRepository digitalFileRepository, IEmail email,
                       IUsersRepository usersRepository, IAesEncryption encryptionService, IEmployeeRepository employeeRepository)
 {
     this.accountViewsModelFactory    = accountViewsModelFactory;
     this.userProfileModelFactory     = userProfileModelFactory;
     this.employeeRepository          = employeeRepository;
     this.employeeOnBoardRepository   = employeeOnBoardRepository;
     this.lookupRepository            = lookupRepository;
     this.accountRepository           = accountRepository;
     this.profileRepository           = profileRepository;
     this.educationHistoryRepository  = educationHistoryRepository;
     this.employmentHistoryRepository = employmentHistoryRepository;
     this.skillSetRepository          = skillSetRepository;
     this.digitalFileRepository       = digitalFileRepository;
     this.usersRepository             = usersRepository;
     this.emailFactory        = emailFactory;
     this.formsAuthentication = formsAuthentication;
     this.session             = session;
     this.encryptionService   = encryptionService;
     this.companyRepository   = companyRepository;
     this.environment         = environment;
     this.email = email;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AccountService"/> class.
        /// </summary>
        /// <param name="accountViewsModelFactory">The account views model factory.</param>
        /// <param name="emailFactory">The email factory.</param>
        /// <param name="session">The session.</param>
        /// <param name="formsAuthentication">The forms authentication.</param>
        /// <param name="accountRepository">The account repository.</param>
        /// <param name="encryptionService">The encryption service.</param>
        /// <param name="emailService">The email service.</param>
        /// <param name="environment">The environment.</param>
        public AccountService(IAccountViewsModelFactory accountViewsModelFactory, IAgentOfDeductionRepository agentOfDeductionRepository, IGeneralRepository generalRepository, IEmailFactory emailFactory,
                              ISessionStateService session, IFormsAuthenticationService formsAuthentication,
                              IAccountRepository accountRepository, IAesEncryption encryptionService,
                              IEmail emailService, IEnvironment environment)
        {
            this.accountViewsModelFactory = accountViewsModelFactory;

            this.accountRepository          = accountRepository;
            this.generalRepository          = generalRepository;
            this.emailFactory               = emailFactory;
            this.session                    = session;
            this.formsAuthentication        = formsAuthentication;
            this.agentOfDeductionRepository = agentOfDeductionRepository;
            this.encryptionService          = encryptionService;
            this.emailService               = emailService;
            this.environment                = environment;
        }