コード例 #1
0
        public bool CheckIfFriends(int firstUserId, int secondUserId)
        {
            var friendsCheckModel = _networkRepository.GetFriendConnectionForUsers(firstUserId, secondUserId);

            if (friendsCheckModel != null)
            {
                return(true);
            }

            return(false);
        }