Exemplo n.º 1
0
        public object Delete(DeleteCoord request)
        {
            var success = _geoRepository.DeleteCoord(request.ID);

            if (success)
                PushPinRemovedNotification(request.ID);

            return new {Success = success};
        }
Exemplo n.º 2
0
        public object Delete(DeleteCoord request)
        {
            var success = _geoRepository.DeleteCoord(request.ID);

            if (success)
            {
                PushPinRemovedNotification(request.ID);
            }

            return(new { Success = success });
        }