protected void linkrestore_Click(object sender, EventArgs e) { int TaxID = int.Parse(Request.QueryString["TaxID"]); MediaTaxonomy tax = new MediaTaxonomy(); if (tax.model_updateMediaTaxonomyTrash(TaxID, true)) { Response.Redirect(Request.Url.ToString()); } }
protected void linktrash_Click(object sender, EventArgs e) { //int TaxTypeID = int.Parse(this.TaxTypeID); //byte intPostTypeID = byte.Parse(this.PostTypeID); int TaxID = int.Parse(Request.QueryString["TaxID"]); MediaTaxonomy tax = new MediaTaxonomy(); if (tax.model_updateMediaTaxonomyTrash(TaxID, false)) { Response.Redirect("MediaTax.aspx?Mode=Edit&TaxID=" + TaxID); } }