Beispiel #1
0
        protected void BanUser_Click(object sender, EventArgs e)
        {
            this.KickPage.DemandModeratorRole();

            //this._user.Ban(this.KickPage.KickUserProfile, this.KickPage.HostProfile);
            UserBR.BanUser(this._user.UserID, this.KickPage.KickUserProfile, this.KickPage.HostProfile);
            this.KickPage.Reload();
        }
Beispiel #2
0
 public void ModeratorBanUser(int userID)
 {
     DemandModeratorRole();
     UserBR.BanUser(userID, KickUserProfile, HostProfile);
 }