public Point CreatePoint(Point point) { try { var pointCreated = _PointRepo.CreatePoint(point); return(pointCreated); } catch (ArgumentOutOfRangeException e) { throw new InvalidPointException("Longitude/Latitude value invalid.", e); } }
public Point CreatePoint(Point point) { try { var pointCreated = _PointRepo.CreatePoint(point); return(pointCreated); } catch (ArgumentOutOfRangeException e) { throw new InvalidPointException("Longitude/Latitude value invalid.", e); } }