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; }
public TypeInsuranceService(ITypeInsuranceRepository typeInsuranceRepository) { _typeInsuranceRepository = typeInsuranceRepository; }