public IActionResult GetNearbyFriends(string friendname) { IEnumerable <Friend> friendsList = _friendApp.GetNearbyFriends(friendname); if (friendsList == null) { return(NotFound("Friend not found")); } return(Ok(friendsList)); }
public IActionResult GetNearbyFriends(string friendname) { IEnumerable <Friend> friendsList = _friendApp.GetNearbyFriends(friendname); if (friendsList == null) { return(NotFound("Friend not found")); } return(Ok(friendsList)); }