protected void btnLogin_Click(object sender, EventArgs e) { if (_adminUserBll.CheckAdminUserLogin(txtUserName.Text, MD5Password.MD5Hash(txtPassword.Text))) { var userAdmin = _adminUserBll.GetAdminUserByUsername(txtUserName.Text); BitcoinSession.AdminUser = userAdmin.Id; Response.Redirect("Default.aspx"); } else { DisplayMessage.ShowMessage("You can not login !", Page); } }