Example #1
0
        public IActionResult GetDeliveryPointByGuId(Guid id, [FromQuery] string fields)
        {
            using (loggingHelper.RMTraceManager.StartTrace("WebService.GetDeliveryPointByGuId"))
            {
                string methodName = typeof(DeliveryPointController) + "." + nameof(GetDeliveryPointByGuId);
                loggingHelper.LogMethodEntry(methodName, priority, entryEventId);

                var geoJsonfeature = businessService.GetDeliveryPointByGuid(id);
                loggingHelper.LogMethodExit(methodName, priority, exitEventId);

                return(Ok(geoJsonfeature));
            }
        }
Example #2
0
        public void Test_GetDeliveryPointByGuid_PositiveScenario()
        {
            var result = testCandidate.GetDeliveryPointByGuid(deliveryPointGuid);

            Assert.IsNotNull(result);
        }