public JsonLocation Update(JsonLocation updatedLocation)
        {
            var key = updatedLocation.Key;

            var entity = updatedLocation.ConvertToLocation();
            Repositories.LocationRepo.Update(entity);

            var result = Repositories.LocationRepo.GetByKey(key);
            ////uLocate.Helpers.Persistence.UpdateLocation();

            return new JsonLocation(result);
        }
        public JsonLocation GetEmptyJsonLocation()
        {
            var result = new JsonLocation();
            var emptyProp = new JsonPropertyData();
            result.CustomPropertyData.Add(emptyProp);

            return result;
        }