I need to get all controller names and ActionNames
in my MenuController
to show in Dropdown
.
For Example
ViewBag.ActionNames = GetActionNames();
ViewBag.ControllerNames = GetControllerNames();
How do I get all controller names in ASP.NET MVC?