Пример #1
0
 public void SaveProfile(string profileData)
 {
     profileData = this.Encrypt(profileData);
     if (this.useLive)
     {
         this.liveResponse = liveWebservice.SaveProfile(profileData);
         this.setResultData();
     }
     else
     {
         this.betaResponse = betaWebservice.SaveProfile(profileData);
         this.setResultData();
     }
 }
Пример #2
0
 public void ListProfiles(DateTime startDate)
 {
     if (this.useLive)
     {
         this.liveResponse = liveWebservice.ListProfiles(startDate);
         this.setResultData();
     }
     else
     {
         this.betaResponse = betaWebservice.ListProfiles(startDate);
         this.setResultData();
     }
 }
Пример #3
0
 public void GetProfile(int ProfileID)
 {
     if (this.useLive)
     {
         this.liveResponse = liveWebservice.GetProfile(ProfileID);
         this.setResultData();
     }
     else
     {
         this.betaResponse = betaWebservice.GetProfile(ProfileID);
         this.setResultData();
     }
     
 }