예제 #1
0
        public CommissionController(IMCommissionRepository mCommissionRepository, IMCommissionDetRepository mCommissionDetRepository)
        {
            Check.Require(mCommissionRepository != null, "mCommissionRepository may not be null");
            Check.Require(mCommissionDetRepository != null, "mCommissionDetRepository may not be null");

            this._mCommissionRepository    = mCommissionRepository;
            this._mCommissionDetRepository = mCommissionDetRepository;
        }
예제 #2
0
        public ClosingController(ITLoanRepository loanRepository, ITInstallmentRepository installmentRepository, IMEmployeeRepository mEmployeeRepository, ITRecPeriodRepository tRecPeriodRepository, IMCommissionRepository mCommissionRepository, IMCommissionDetRepository mCommissionDetRepository, ITLoanSurveyRepository tLoanSurveyRepository, ITCommissionRepository tCommissionRepository, IMZoneEmployeeRepository mZoneEmployeeRepository)
        {
            Check.Require(loanRepository != null, "loanRepository may not be null");
            Check.Require(installmentRepository != null, "installmentRepository may not be null");
            Check.Require(mEmployeeRepository != null, "mEmployeeRepository may not be null");
            Check.Require(tRecPeriodRepository != null, "tRecPeriodRepository may not be null");
            Check.Require(mCommissionRepository != null, "mCommissionRepository may not be null");
            Check.Require(mCommissionDetRepository != null, "mCommissionDetRepository may not be null");
            Check.Require(tLoanSurveyRepository != null, "tLoanSurveyRepository may not be null");
            Check.Require(tCommissionRepository != null, "tCommissionRepository may not be null");
            Check.Require(mZoneEmployeeRepository != null, "mZoneEmployeeRepository may not be null");

            this._loanRepository           = loanRepository;
            this._installmentRepository    = installmentRepository;
            this._mEmployeeRepository      = mEmployeeRepository;
            this._tRecPeriodRepository     = tRecPeriodRepository;
            this._mCommissionRepository    = mCommissionRepository;
            this._mCommissionDetRepository = mCommissionDetRepository;
            this._tLoanSurveyRepository    = tLoanSurveyRepository;
            this._tCommissionRepository    = tCommissionRepository;
            this._mZoneEmployeeRepository  = mZoneEmployeeRepository;
        }