I know that in asp.net-core 2.2, I can get the action name as follows:
ControllerContext.ActionDescriptor.ActionName
but I am looking for a way to get the controller name of the current request/page in asp.net-core 2.2
I will appreciate any guide.
Thank you
ValuesController
but your controller name is actuallyValues
– Limbic