Base solution for your next web application
Open Closed

Filter For Wrapping JsonResult Response #1898


User avatar
0
gpcaretti created

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, Gianpiero


No answer yet!