// GET: api/SignedDocument/5
        public string Get(string id)
        {
            string s1 = id;

            ContractBuilderDocumentSearch oBuilderDocumentSearch = new ContractBuilderDocumentSearch();
            Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchRequest2 documentListSearchRequest = new Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchRequest2();
            Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse documentListSearchResponse = new Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse();
            documentListSearchRequest = oBuilderDocumentSearch.BuildDocumentSearchRequest(id);
            EmployeeDesktop.API.SearchDocumentSearch ocallSearchDocument = new SearchDocumentSearch();
            documentListSearchResponse = ocallSearchDocument.GetDocumentFromSearch(documentListSearchRequest, "192.168.192.11");
            return "value";
        }
        public Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse GetDocumentFromSearch(Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchRequest2 DocumentSearchRequest, String sIP)
        {
            PrimeSuiteServiceClient oClient = null;
            try
            {
                oClient = EmployeeDesktop.API.HelperFiles.HelperClass.GetServiceClient(sIP);
                Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse oResponse = new Greenway.PrimeSuite.DataContracts.Document.DocumentListSearchResponse();
                oResponse = oClient.DocumentListSearch2(DocumentSearchRequest);

                return oResponse;

            }
            catch (Exception ex)
            {

                throw ex;
            }
            finally
            {
                EmployeeDesktop.API.HelperFiles.HelperClass.CloseServiceClient(oClient);
            }
        }