I want to convert all dates received from client into UTC before processing them in server side code. I am thinking to use ActionFilter where I want to find all the date fields from Request payload and convert those into UTC dates. I know Reflection helps in finding properties by it's type but it doesn't work in case of Anonymous objects.
Aucun commentaire:
Enregistrer un commentaire