Exemple #1
0
 public UnitOfWork(IRiskRepository riskRepository, IContractRepository contractRepository, IBranchRepository branchRepository, IReasonRepository reasonRepository, ITariffRepository tariffRepository, ITypeInsuranceRepository typeInsuranceRepository, IAgentRepository agentRepository, IStatusRepository statusRepository)
 {
     RiskRepository          = riskRepository;
     ContractRepository      = contractRepository;
     BranchRepository        = branchRepository;
     ReasonRepository        = reasonRepository;
     TariffRepository        = tariffRepository;
     TypeInsuranceRepository = typeInsuranceRepository;
     AgentRepository         = agentRepository;
     StatusRepository        = statusRepository;
 }
Exemple #2
0
 public TypeInsuranceService(ITypeInsuranceRepository typeInsuranceRepository)
 {
     _typeInsuranceRepository = typeInsuranceRepository;
 }