public LeaveApplicationService(ILeaveDomainService leaveDomainService, IPersonDomainService personDomainService, IApprovalRuleDomainService approvalRuleDomainService) { _approvalRuleDomainService = approvalRuleDomainService; _leaveDomainService = leaveDomainService; _personDomainService = personDomainService; }
public LeaveApplicationService(ILeaveDomainService leaveDomainService, IPersonDomainService personDomainService, IApprovalRuleDomainService approvalRuleDomainService) { _leaveDomainService = leaveDomainService ?? throw new ArgumentNullException(nameof(leaveDomainService)); _personDomainService = personDomainService ?? throw new ArgumentNullException(nameof(personDomainService)); _approvalRuleDomainService = approvalRuleDomainService ?? throw new ArgumentNullException(nameof(approvalRuleDomainService)); }
public ApprovalRuleController(IApprovalRuleDomainService approvalRuleDomainService) { _approvalRuleDomainService = approvalRuleDomainService; }