Exemplo n.º 1
0
        public static string GetLiveCRM_AccountStatus(string EMBS, int UserID, string Ticket)
        {
            var ws = new CRMServiceProxy.CRMServiceProxy();

            try
            {
                var res = ws.GetResults(EMBS, UserID, Ticket);

                return(res);
            }
            catch (Exception ex)
            {
                return("Timed out!");
            }
        }
Exemplo n.º 2
0
        public static string GetLiveCRM_Account(string EMBS, int Year, bool force_crm)
        {
            var ws = new CRMServiceProxy.CRMServiceProxy();

            try
            {
                var res = ws.GetResultsForReport(EMBS, Year, force_crm);

                return(res);
            }
            catch (Exception ex)
            {
                return("Timed out!");
            }
        }