Page 1 of 1

Filter For Wrapping JsonResult Response

PostPosted: Thu Nov 03, 2016 3:38 pm
by gpcaretti
As you know, no validation code is required for validating input Dtos in Application Services, as it is automatically done by the framework, possibly calling custom validation too.

Is there a way to define a similar mechanism before returning the output Dto? I'd like to filter the Dto by blanking some values according to current AbpSession user and I'd like to do it outside the application service method.

I am sure it is possible, but I sincerely do not know how to realize it.

I have been using the AngularJs SPA template.

Thank you for your help,