public IActionResult GetNewMessageCount() { var currentUser = GetCurrentUserProfile(); int messageCount = _userMessageRepository.NewMessageCount(currentUser.Id); return(Ok(messageCount)); }