예제 #1
0
        public IActionResult GetNewMessageCount()
        {
            var currentUser  = GetCurrentUserProfile();
            int messageCount = _userMessageRepository.NewMessageCount(currentUser.Id);

            return(Ok(messageCount));
        }