public ApprovalRuleFactory(IApprovalRuleRepository approvalRuleRepository) { _approvalRuleRepository = approvalRuleRepository; }
public ApprovalRuleDomainService(IApprovalRuleRepository approvalRuleRepository, ApprovalRuleFactory approvalRuleFactory) { _approvalRuleRepository = approvalRuleRepository ?? throw new ArgumentNullException(nameof(approvalRuleRepository)); _approvalRuleFactory = approvalRuleFactory ?? throw new ArgumentNullException(nameof(approvalRuleFactory)); }
public ApprovalRuleDomainService(IApprovalRuleRepository approvalRuleRepository) { _approvalRuleRepository = approvalRuleRepository; }