IControllerStandardParameter Property |
Namespace: SOWIWeb.Helper.Interface
/// <summary> /// Get route data parameter from Controller Context object. /// If no value or object no exists then gives "" return. /// </summary> public string Parameter { get { if (this.ControllerContext.RouteData.Values["parameter"] == null) { return ""; } return this.ControllerContext.RouteData.Values["parameter"].ToString(); } }