示例#1
0
        private void Action_DenyUser()
        {
            string ErrorMessage;

            if (RegisterUserBLL.DenyUser(ViewData, this.AccountInfo.UserId, out ErrorMessage))
            {
                DisplayMessage("You have denied account for the registered User. Please note that the registration information has been deleted. An email confirmation has been sent to the User about your decision.", false);
            }
            else
            {
                DisplayMessage("An error occured while deleting User registration information. Error info:" + ErrorMessage, true);
            }
        }