protected void Insert_Click(object sender, EventArgs e) { ColorController cc = new ColorController(); cc.Insert(Color.Text, IsPublished.Checked, int.Parse(ddlLanguageId.SelectedValue)); Response.Redirect("ListColors.aspx"); }
protected void Insert_Click(object sender, EventArgs e) { ColorController cc = new ColorController(); cc.Insert(Color.Text, IsPublished.Checked, int.Parse(ddlLanguageId.SelectedValue)); Response.Redirect("ListColors.aspx"); }