private void DeleteFaq(int id) { int question = id; SnitzFaq.DeleteFaqQuestion(question); BindFaqNav(); }
protected void Delete(object sender, ImageClickEventArgs e) { int id = Convert.ToInt32(hdnFaqId.Value); if (id > 0) { SnitzFaq.DeleteFaqQuestion(id); Response.Redirect("/Faq"); } }