In our project I recently dumped a list of routes to controllers in order to learn a new asp.net project that I recently joined the team of.
However, they have a class used as an attribute in a namespace that is being picked up by asp.net as a controller class, which is registering 'null' / empty routes in the dump, named GenericController.
Is there a way to mark this class using attributes (Similar to marking methods using [NonAction]) as 'not a controller?' And if not, what alternatives are there for excluding 'matching by convention' named classes from being controllers?