Esempio n. 1
0
 public PolicyService(IPolicyRepository policyRepository,
                      IRiskTypeRepository riskTypeRepository,
                      IRuleRepository ruleRepository,
                      IPolicyTypeRepository policyTypeRepository)
 {
     _policyRepository     = policyRepository;
     _riskTypeRepository   = riskTypeRepository;
     _ruleRepository       = ruleRepository;
     _policyTypeRepository = policyTypeRepository;
 }
Esempio n. 2
0
 public PolicyTypeController(IPolicyTypeRepository policyTypeRepository)
 {
     _policyTypeRepository = policyTypeRepository;
 }