/// <summary> /// Simple but less efficient way of getting a page url if you only know /// the id. Use the overload accepting an IPageRoute if possible to save a /// potential db query if the route isn't cached. /// </summary> public string Page(int?pageId) { return(_pageRouteLibrary.Page(pageId)); }
/// <summary> /// Gets the full url of a page. /// </summary> public string Page(IPageRoute route) { return(_pageRouteLibrary.Page(route)); }