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(); } }
public void ListProfiles(DateTime startDate) { if (this.useLive) { this.liveResponse = liveWebservice.ListProfiles(startDate); this.setResultData(); } else { this.betaResponse = betaWebservice.ListProfiles(startDate); this.setResultData(); } }
public void GetProfile(int ProfileID) { if (this.useLive) { this.liveResponse = liveWebservice.GetProfile(ProfileID); this.setResultData(); } else { this.betaResponse = betaWebservice.GetProfile(ProfileID); this.setResultData(); } }