Exemplo n.º 1
0
        public virtual int GetNotNotifiedCount()
        {
            var userId = _intranetUserService.GetCurrentUserId();
            var count  = _uiNotifierService.GetNotNotifiedCount(userId);

            return(count);
        }
Exemplo n.º 2
0
        public virtual int GetNotNotifiedCount()
        {
            var currentMember = _intranetMemberService.GetCurrentMember();

            var count = currentMember != null
                ? _uiNotifierService.GetNotNotifiedCount(currentMember.Id)
                : default;

            return(count);
        }