public void SaveCode(string siteId, string publisherId, string token, string sourceId, string code)
{
string param = string.Empty;
if (siteId.Equals(string.Empty) || publisherId.Equals(string.Empty) || token.Equals(string.Empty) || sourceId.Equals(string.Empty) || code.Equals(string.Empty))
this.ShowErrors(string.Format("Todos os parâmetros são requeridos na função <b>{0}</b>.", Services.saveCode));
string[] arr_param = new string[] { "siteId=" + siteId, "publisherId=" + publisherId, "token=" + token, "sourceId=" + sourceId, "code=" + code };
param = "?" + string.Join("&", arr_param);
string url = string.Format("http://{0}.buscape.com/service/{1}/lomadee/{2}/{3}/{4}", this.server, Services.saveCode, this.applicationId, this.countryCode, param);
this.PostContent(url);
}