0
rodrigosturm created
1 Answer(s)
-
0
You can set it in CreateOrEditModal method of controller.
if (id.HasValue){ ... } else{ getPersonForEditOutput = new GetPersonForEditOutput{ Person = new CreateOrEditPersonDto() { BirthDate = DateTime.Today } // <------ }; }