How to apply IActionFilter only to a single controller?

后端 未结 0 464
萌比男神i
萌比男神i 2021-02-08 17:34

I want to handle exceptions for one of my Api controllers in a certain manner. I\'ve found this sample:

public class HttpResponseExceptionFilter : IActionFilter,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题