diff --git a/View/Secretary/EnrollmentStudent/EnrollStudentView.razor.cs b/View/Secretary/EnrollmentStudent/EnrollStudentView.razor.cs index 8a0ba98..027f48e 100644 --- a/View/Secretary/EnrollmentStudent/EnrollStudentView.razor.cs +++ b/View/Secretary/EnrollmentStudent/EnrollStudentView.razor.cs @@ -49,9 +49,9 @@ protected override async Task OnParametersSetAsync() } protected override void OnParametersSet() - { + { if (Birthday != null) - { + { Student.birthday = new Date { Year = Birthday.Year,