Esempio n. 1
0
        public static IEnumerable <DTO.Project> Get(string subscriptionKey, string hostURI)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceProject_Get);

            return(APIHelper.Get <IEnumerable <DTO.Project> >(subscriptionKey, url));
        }
Esempio n. 2
0
        public static IEnumerable <DTO.Dataset> GetByProjectId(string subscriptionKey, string hostURI, string projectId)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceDatasets_GetByProjectId, projectId);

            return(APIHelper.Get <IEnumerable <DTO.Dataset> >(subscriptionKey, url));
        }