public AgentOfDeductionService(IEnvironment environment, IAccountRepository accountRepository, IDigitalFileRepository digitalFileRepository, IGeneralRepository generalRepository, IAgentOfDeductionRepository agentOfDeductionRepository, IAgentOfDeductionFactory agentOfDeductionFactory, ISessionStateService session)
 {
     this.agentOfDeductionFactory    = agentOfDeductionFactory;
     this.agentOfDeductionRepository = agentOfDeductionRepository;
     this.accountRepository          = accountRepository;
     this.session               = session;
     this.environment           = environment;
     this.generalRepository     = generalRepository;
     this.digitalFileRepository = digitalFileRepository;
 }
        /// <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;
        }