示例#1
0
        public string FindUserPinnedDocument(RequestObject requestObject, Client client)
        {
            string result = string.Empty;

            if (null != requestObject && null != client && ValidationHelperFunctions.CheckRequestValidatorToken())
            {
                result = SearchHelperFunctions.ShowPinData(requestObject, client, ServiceConstantStrings.UserPinnedDocumentListName, ServiceConstantStrings.PinnedListColumnDocumentDetails, true);
                // Decode pinned documents
                result = HttpUtility.HtmlDecode(result);
            }
            else
            {
                result = TextConstants.MessageNoInputs;
            }

            return(result);
        }
示例#2
0
        public string FindUserPinnedMatter(RequestObject requestObject, Client client)
        {
            string result = string.Empty;

            if (null != requestObject && null != client && ValidationHelperFunctions.CheckRequestValidatorToken())
            {
                result = SearchHelperFunctions.ShowPinData(requestObject, client, ServiceConstantStrings.UserPinnedMatterListName, ServiceConstantStrings.PinnedListColumnMatterDetails, false);
                // Decode pinned documents
                result = HttpUtility.HtmlDecode(result);
            }
            else
            {
                result = string.Format(CultureInfo.InvariantCulture, ConstantStrings.ServiceResponse, string.Empty, TextConstants.MessageNoInputs);
            }

            return(result);
        }