/// <summary>
 /// Returns a list of locations near to the given one.
 /// </summary>
 /// <param name="distance">Distance in meters, max = 5000</param>
 public List <ILocation> SearchLocations(double latitude, double longitude, double distance = 0)
 {
     try
     {
         return(locationJsonController.MapJsonToLocations(
                    LocationEndPoint
                    .SearchLocationAPICall(latitude,
                                           longitude,
                                           distance)));
     }
     catch (Exceptions.InstagramAPICallException e)
     {
         throw e;
     }
     catch (Exception)
     {
         return(null);
     }
 }