Esempio n. 1
0
        public IHttpActionResult GetAllGridObstacles()
        {
            try
            {
                var lst = _gridManager.GetAllGridObstacle();

                return(Ok(new { GridObstacleList = lst }));
            }
            catch (Exception ex)
            {
                _log.Error("Error in GetAllGridObstacles ", ex);
                return(BadRequest(ex.Message));
            }
        }