I'm trying to get a custom attribute from a HttpContext but I don't know how to pick this specific attribute that I created. I already did a method like that, but was picking up the attribute from an IInvocation, but I don't know if I can do the same with the HttpContext.
The code that I'm trying to pick the Attribute https://i.stack.imgur.com/EZWTQ.png
The code that I did with IInvocation: https://i.stack.imgur.com/a0fKH.png