コード例 #1
0
 public MotorCalculator()
 {
     _adminRepository           = new Admin();
     _motorInsuranceRepository  = new MotorInsurance();
     _insurancePortalRepository = new InsurancePortal();
     _oracleMotorInsurance      = new OracleDBIntegration.Implementation.MotorInsurance();
     _mail = new Mail();
 }
コード例 #2
0
        public MotorInsuranceController(IMotorInsurance motorInsurance)
        {
            _motorInsuranceRepository = motorInsurance;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetMotorAutoMapper();
        }
コード例 #3
0
        public InsurancePortalController(IInsurancePortal portal, IMotorInsurance motor)
        {
            _insurancePortalRepository = portal;
            _motorInsuranceRepository  = motor;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetPortalAutoMapper();
        }