// // GET: /Base/ public ActionResult Index() { var controller = ControllerContext.Controller; var controllerType = controller.GetType(); if (controllerType != null && !string.IsNullOrEmpty(controllerType.Name)) { ViewBag.AutoHtml = ControllerActionCollector.GetControllerNames(controllerType.Name); } return(View()); }
public ActionResult Index() { ViewBag.AutoHtml = ControllerActionCollector.GetControllerNames(); return(View()); }
// // GET: /Knockout/ public ActionResult ShoppingCart() { ViewBag.AutoHtml = ControllerActionCollector.GetControllerNames(); return(View()); }