0
Ricavir created
Hi,
I'm doing an ApplicationService. I would like to validate a DTO input according to some application settings. To do so, I implement ICustomValidate on my DTO class but I'm not able to get my setting value with SettingManager.GetSettingValueAsync...
Do you know how to proceed ?
If not possible, I could do a data validation directly on the ApplicationService before inserting data on the database... what is your advice ?
Thanks
1 Answer(s)
-
0
Hi @Ricavir,
It is better to do it in app service method.