コード例 #1
0
        public ReportController(IReport repository)
        {
            _ReportRepo = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetReportAutoMapper();
        }
コード例 #2
0
        public HomeInsuranceController(IHomeInsurance homeInsurance)
        {
            _homeInsuranceRepository = homeInsurance;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetHomeAutoMapper();
        }
コード例 #3
0
        public MotorEndorsementController(IMotorEndorsement motorEndorsement)
        {
            _motorEndorsementRepository = motorEndorsement;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetMotorEndorsementAutoMapper();
        }
コード例 #4
0
        public UserController(IUser repository)
        {
            _userRepository = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetUserAutoMapper();
        }
コード例 #5
0
        public DropDownController(IDropDowns repository)
        {
            _dropdownRepository = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetAdminAutoMapper();
        }
コード例 #6
0
        public AdminController(IAdmin repository)
        {
            _adminRepository = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetAdminAutoMapper();
        }
コード例 #7
0
        public TravelInsuranceController(ITravelInsurance repository)
        {
            _travelInsuranceRep = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetTravelAutoMapper();
        }
コード例 #8
0
        public DomesticHelpController(IDomesticHelp repository)
        {
            _domesticHelpRepo = repository;
            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetDomesticAutoMapper();
        }
コード例 #9
0
        public TravelEndorsementController(ITravelEndorsement travelEndorsement)
        {
            _travelEndorsementRepository = travelEndorsement;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetTravelEndorsementAutoMapper();
        }
コード例 #10
0
        public MotorInsuranceController(IMotorInsurance motorInsurance)
        {
            _motorInsuranceRepository = motorInsurance;

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetMotorAutoMapper();
        }
コード例 #11
0
        public HomeEndorsementController(IHomeEndorsement homeEndorsement)
        {
            _homeEndorsementRepository = homeEndorsement;

            BKICAutomapper automap = new BKICAutomapper();

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

            BKICAutomapper automap = new BKICAutomapper();

            _mapper = automap.GetPortalAutoMapper();
        }