Not able to read Config from custom exception filter in controller attribute

Viewed 60

Trying to read configuration from custom exception filter into controller attribute i have attached screenshots for reference.

  • My controller

controller

  • My ExceptionFilter

apiexceptionfilter

  • Startup.cs

startup.cs

error is how to read it into controller attribute

enter image description here

0 Answers
Related