public Api ( string apiId ) : System.Web.Mvc.ActionResult | ||
apiId | string | |
return | System.Web.Mvc.ActionResult |
public ActionResult Api(string apiId)
{
if (!String.IsNullOrEmpty(apiId))
{
HelpPageApiModel apiModel = Configuration.GetHelpPageApiModel(apiId);
if (apiModel != null)
{
return View(apiModel);
}
}
return View(ErrorViewName);
}