Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     lblAllCommants.Text   = _commentManager.Count();
     lblAllExceptions.Text = _exceptionLogManager.Count();
     lblAllUsers.Text      = _userManager.Count();
     lblAllMessages.Text   = _communicationManager.Count();
     LoadMessages();
     LoadToDoList();
 }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Id"] == null)
            {
                Response.Redirect("~/Administrator/AdminLoginPage.aspx");
            }
            lblsession.Text = Session["UserName"]?.ToString();

            lblMEssageCount.Text = _communicationManager.Count();
        }