protected void btnAddGroup_Click(object sender, EventArgs e) { usergroupLogic = new GroupModel(); usergroupLogic.AddGroup(txtName.Text, txtDescription.Text, cbIsLimit.Checked, Int32.Parse(txtDownLimit.Text)); Response.Redirect("usergroup.aspx"); }
protected void btnAddGroup_Click(object sender, EventArgs e) { usergroupLogic = new GroupModel(); usergroupLogic.AddGroup(txtName.Text, txtDescription.Text, cbIsLimit.Checked, Int32.Parse(txtDownLimit.Text)); Response.Redirect("usergroup.aspx"); }