Esempio n. 1
0
        public static pcoItems.Items getItems()
        {
            pcoItems.Items items = new pcoItems.Items();

            try
            {
                items = JSonHelper.ConvertJSonToObject <pcoItems.Items>(getHttpWebResponse(getCurrentPlan().data.links.items));
            }
            catch (Exception ex)
            {
                System.Diagnostics.EventLog.WriteEntry("Application", ex.Message);
            }
            finally { }

            return(items);
        }
Esempio n. 2
0
        public static pcoItems.Items getItems()
        {
            pcoItems.Items items = new pcoItems.Items();

            try
            {
                items = JSonHelper.ConvertJSonToObject<pcoItems.Items>(getHttpWebResponse(getCurrentPlan().data.links.items));
            }
            catch (Exception ex)
            {
                System.Diagnostics.EventLog.WriteEntry("Application", ex.Message);
            }
            finally { }

            return items;
        }