Пример #1
0
        public void Test_GetDeliveryPoints_PositiveScenario()
        {
            string coordinates = "399545.5590911182,649744.6394892789,400454.4409088818,650255.3605107211";
            var    result      = testCandidate.GetDeliveryPoints(coordinates, unitGuid, currentUserUnitType);

            Assert.IsNotNull(result);
        }
Пример #2
0
        public JsonResult GetDeliveryPoints(string bbox)
        {
            using (loggingHelper.RMTraceManager.StartTrace("WebService.GetDeliveryPoints"))
            {
                string methodName = typeof(DeliveryPointController) + "." + nameof(GetDeliveryPoints);
                loggingHelper.LogMethodEntry(methodName, priority, entryEventId);

                object deliveryPoints = businessService.GetDeliveryPoints(bbox, this.CurrentUserUnit, this.CurrentUserUnitType);

                loggingHelper.LogMethodExit(methodName, priority, exitEventId);

                return(Json(deliveryPoints));
            }
        }