Пример #1
0
        public string GetProfile()
        {
            serviceClient.BaseUri = baseUrl;
            Profile profile = serviceClient.Get <Profile>(string.Format("{0}{1}", baseUrl, "profile"));

            return(profile.ToJson());
        }
Пример #2
0
 public string GetCataloge()
 {
     serviceClient.BaseUri = baseUrl;
     InterplayService.Contracts.Cataloge.RootObject profile = serviceClient.Get <InterplayService.Contracts.Cataloge.RootObject>(string.Format("{0}{1}", baseUrl, "catalogs"));
     return(profile.ToJson());
 }