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