Exemple #1
0
        public IActionResult GetRouteData(string bbox)
        {
            using (loggingHelper.RMTraceManager.StartTrace("Controller.GetRouteData"))
            {
                string methodName = typeof(NetworkManagerController) + "." + nameof(GetRouteData);
                loggingHelper.LogMethodEntry(methodName, priority, entryEventId);

                string route = networkManagerBusinessService.GetRoadRoutes(bbox, this.CurrentUserUnit, this.CurrentUserUnitType);
                loggingHelper.LogMethodExit(methodName, priority, exitEventId);
                return(Ok(route));
            }
        }
        public void Test_GetRoadRoutes()
        {
            var result = testCandidate.GetRoadRoutes(coordinates, Guid.NewGuid(), "Delivery Office");

            Assert.IsNotNull(result);
        }