public void AddCourierWithLocation_CorrectData_NewCourierIdIsExists()
        {
            CourierDto courier = new CourierDto()
            {
                FirstName   = "Courier",
                LastName    = "One",
                PhoneNumber = "testphone",
                Location    = new PointDto()
                {
                    Latitude = 23.02, Longitude = 54.03
                }
            };

            Guid id = courierService.AddCourierAsync(courier).Result;

            courier = courierService.GetCourierById(id);

            Assert.IsNotNull(courier);
        }
        public IHttpActionResult GetById(Guid courierId)
        {
            CourierDto courier = CourierService.GetCourierById(courierId);

            return(Ok(courier));
        }