Exemplo n.º 1
0
 public MotorCalculator()
 {
     _adminRepository           = new Admin();
     _motorInsuranceRepository  = new MotorInsurance();
     _insurancePortalRepository = new InsurancePortal();
     _oracleMotorInsurance      = new OracleDBIntegration.Implementation.MotorInsurance();
     _mail = new Mail();
 }
Exemplo n.º 2
0
        public MotorInsuranceController(IMotorInsurance motorInsurance)
        {
            _motorInsuranceRepository = motorInsurance;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetMotorAutoMapper();
        }
        public InsurancePortalController(IInsurancePortal portal, IMotorInsurance motor)
        {
            _insurancePortalRepository = portal;
            _motorInsuranceRepository  = motor;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetPortalAutoMapper();
        }