public AccountNumberValidationTests() { _validation = new AccountNumberValidation(); }
public PeopleController(IPersonRepository personRepository) { accountNumberValidation = new AccountNumberValidation(); PersonRepository = personRepository ?? throw new System.ArgumentNullException(nameof(personRepository)); }
public EmployeesController(IEmployeeRepository repo) { _repo = repo; _validation = new AccountNumberValidation(); }