Ejemplo n.º 1
0
        public MicrosoftDynamicsCRMadoxioEventlocationCollection GetEventLocationsByEventId(string id)
        {
            string filter = $"_adoxio_eventid_value eq {id}";
            // fetch from Dynamics.
            MicrosoftDynamicsCRMadoxioEventlocationCollection results;

            try
            {
                results = Eventlocations.Get(filter: filter);
            }
            catch (HttpOperationException)
            {
                results = null;
            }

            return(results);
        }