Skip to content

Commit

Permalink
CODE RUB: Fix Code for Validations
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanhabib authored Mar 26, 2023
1 parent 769d04f commit b3fdf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2. Services/2.1 Foundations/2.1 Foundations.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ private void ValidateStudent(Student student)

Validate(
(Rule: IsInvalid(student.Address.Street), Parameter: nameof(StudentAddress.Street)),
(Rule: IsInvalid(student.Address.City), Parameter: nameof(Student.City)),
(Rule: IsInvalid(student.Address.ZipCode), Parameter: nameof(Student.ZipCode))
(Rule: IsInvalid(student.Address.City), Parameter: nameof(StudentAddress.City)),
(Rule: IsInvalid(student.Address.ZipCode), Parameter: nameof(StudentAddress.ZipCode))
);
}
```
Expand Down

0 comments on commit b3fdf1a

Please sign in to comment.