WebApiDemo.Controllers.HomeController.Docs C# (CSharp) Method

Docs() public method

public Docs ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Docs()
        {
            var apiExlorer = GlobalConfiguration.Configuration.Services.GetApiExplorer();
            var apiInfo = apiExlorer.ApiDescriptions.ToLookup(x => x.ActionDescriptor.ControllerDescriptor.ControllerName);
            return View(apiInfo);
        }
HomeController