public void LoadMessageList() { List <T_Message> list = new List <T_Message>(); int Category = 0; if (Session["Category"] != null) { Category = (int)Session["Category"]; } list = messageBLL.GetMessageList(Category); }
private void GetNoReadMessage() { AdminModel user = Common.GetLoginAdmin(HttpContext.Current); int notread = 0; int total = 0; List <MessageModel> list = new List <MessageModel>(); MessageBLL mb = new MessageBLL(); try { mb.GetMessageList(1, 100000, null, null, false, null, user.AdminId, out total, out notread, out list); messagenocount_lb.Text = total.ToString(); } catch (Exception ex) { WriteLog.WriteExceptionLog("GetMessage", ex); } }