Exemple #1
0
        public IActionResult GetNearbyFriends(string friendname)
        {
            IEnumerable <Friend> friendsList = _friendApp.GetNearbyFriends(friendname);

            if (friendsList == null)
            {
                return(NotFound("Friend not found"));
            }
            return(Ok(friendsList));
        }