private Location GetLocation(int index) { var location = GeobaseStorage.LocationData[GeobaseStorage.LocationIndexData[index].location_index / sizeLocationElement]; var ipInfo = GeobaseStorage.IpData[GeobaseStorage.LocationIndexData[index].location_index / sizeLocationElement]; return(ResponseCreator.CreateLocationItem(ipInfo, location)); }