/// <summary> /// Retrieve the Unread NoticeBoard. /// </summary> /// <returns></returns> public int GetMyUnreadNoticeBoard() { // Cretaes Instance. CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // Get My Unapproved claims. return(objDash.GetMyPendingNotifications(objInfo.GetUserCode(), DashBoardLanding.Entity.NOTICEBOARD)); }
/// <summary> /// Retrive the Unread Messaging count. /// </summary> /// <returns>int</returns> public int GetMyUnreadMessageCount() { // Cretaes Instance. CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // Get My Unapproved claims. return(objDash.GetMyPendingNotifications(objInfo.GetUserCode(), DashBoardLanding.Entity.MESSAGING)); }