Beispiel #1
0
 public MotorCalculator()
 {
     _adminRepository           = new Admin();
     _motorInsuranceRepository  = new MotorInsurance();
     _insurancePortalRepository = new InsurancePortal();
     _oracleMotorInsurance      = new OracleDBIntegration.Implementation.MotorInsurance();
     _mail = new Mail();
 }
 public HomeCalculator()
 {
     _adminRepository           = new Admin();
     _homeInsuranceRepository   = new HomeInsurance();
     _insurancePortalRepository = new InsurancePortal();
     _oracleHomeInsurance       = new OracleDBIntegration.Implementation.HomeInsurance();
     _mail = new Mail();
 }
        public InsurancePortalController(IInsurancePortal portal, IMotorInsurance motor)
        {
            _insurancePortalRepository = portal;
            _motorInsuranceRepository  = motor;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetPortalAutoMapper();
        }