public void EditTest()
        {
            var controller = new LocationController();

            controller.Request       = new HttpRequestMessage();
            controller.Configuration = new HttpConfiguration();
            var      boundryPolygon = new List <BoundryPolygon>();
            Location location       = new Location()
            {
                Id                = 10,
                StreetAddress     = "Street Address 110 4545445454",
                LocalMunicipality = "test",
                Region            = "JHB",
                Suburb            = "Test",
                Province          = "Gauteng",
                GPSCoordinates    = new GPSCoordinate()
                {
                    Id        = 24,
                    Latitude  = "-26.325822222",
                    Longitude = "28.3658 2222"
                },
                //CreatedDate = DateTime.Now,
                //CreatedUserId = 1,
                //FacilityId = 5
            };

            boundryPolygon.Add(new BoundryPolygon()
            {
                Longitude = "25.3698", Latitude = "-25.3652"
            });
            boundryPolygon.Add(new BoundryPolygon()
            {
                Longitude = "11.3698", Latitude = "-11.3652"
            });
            boundryPolygon.Add(new BoundryPolygon()
            {
                Longitude = "2225.3698", Latitude = "-2225.3652"
            });
            location.BoundryPolygon = boundryPolygon;
            var result = controller.CreateEdit(location);

            Assert.IsTrue(result.IsSuccessStatusCode);
        }