Hi @Pavan ,
You can consider AOP solution in .NET.
Here's a reference you can refer to.
What is the best implementation for AOP in .Net?
Hope it could be helpful.
Best Regards,
Xingyu Zhao
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.