Example #1
0
    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());
        }
    }
Example #2
0
    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);
        }
    }