Exemplo n.º 1
0
    /// <summary>
    /// Returns link to selected post.
    /// </summary>
    /// <param name="postIdPath">Post id path</param>
    /// <param name="forumId">Forum id</param>
    public static string GetPostURL(object postIdPath, object forumId)
    {
        string pIdPath = ValidationHelper.GetString(postIdPath, string.Empty);
        int    fId     = ValidationHelper.GetInteger(forumId, 0);

        return(ForumPostInfoProvider.GetPostURL(pIdPath, fId, true));
    }