示例#1
0
        protected void RemoveGroupButton_Click(object sender, EventArgs e)
        {
            NetTelcoUserRepository RemoveUserInGroup = new NetTelcoUserRepository();

            RemoveUserInGroup.RemoveUserInAccessGroup(Convert.ToInt64(AllowedGroups.SelectedValue.ToString()));
            AllowedGroups.DataBind();
            NotAllowedGroups.DataBind();
        }
示例#2
0
        protected void AddGroupButton_Click(object sender, EventArgs e)
        {
            NetTelcoUserRepository AddUserInGroup = new NetTelcoUserRepository();

            AddUserInGroup.AddUserInAccessGroup(Convert.ToInt64(UsersEditGridView.SelectedValue.ToString()), Convert.ToInt64(NotAllowedGroups.SelectedValue.ToString()));
            AllowedGroups.DataBind();
            NotAllowedGroups.DataBind();
        }