Ejemplo n.º 1
0
        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);
        }