@@ -29,102 +29,102 @@ public static async Task SeedAsync(IApplicationBuilder applicationBuilder, ILogg
2929
3030 static Locations GetPreconfiguredLocations ( )
3131 {
32- var ww = new Locations ( ) { Code = "WW" , Description = "WorldWide" , Latitude = - 1 , Longitude = - 1 } ;
32+ var ww = new Locations ( "WW" , "WorldWide" , - 1 , - 1 ) ;
3333 ww . ChildLocations . Add ( GetUSLocations ( ) ) ;
3434 return ww ;
3535 }
3636
3737 static Locations GetUSLocations ( )
3838 {
39- var us = new Locations ( ) { Code = "US" , Description = "United States" , Latitude = 41.650455 , Longitude = - 101.357386 , Polygon = GetUSPoligon ( ) } ;
39+ var us = new Locations ( "US" , "United States" , 41.650455 , - 101.357386 , GetUSPoligon ( ) ) ;
4040 us . ChildLocations . Add ( GetWashingtonLocations ( ) ) ;
4141 return us ;
4242 }
4343
4444 static Locations GetWashingtonLocations ( )
4545 {
46- var wht = new Locations ( ) { Code = "WHT" , Description = "Washington" , Latitude = 47.223652 , Longitude = - 119.542781 , Polygon = GetWashingtonPoligon ( ) } ;
46+ var wht = new Locations ( "WHT" , "Washington" , 47.223652 , - 119.542781 , GetWashingtonPoligon ( ) ) ;
4747 wht . ChildLocations . Add ( GetSeattleLocations ( ) ) ;
4848 wht . ChildLocations . Add ( GetRedmondLocations ( ) ) ;
4949 return wht ;
5050 }
5151
5252 static Locations GetSeattleLocations ( )
5353 {
54- var bcn = new Locations ( ) { Code = "SEAT" , Description = "Seattle" , Latitude = 47.603111 , Longitude = - 122.330747 , Polygon = GetSeattlePoligon ( ) } ;
55- bcn . ChildLocations . Add ( new Locations ( ) { Code = "SEAT-PioneerSqr" , Description = "Seattle Pioneer Square Shop" , Latitude = 47.602053 , Longitude = - 122.333884 , Polygon = GetSeattlePioneerSqrPoligon ( ) } ) ;
54+ var bcn = new Locations ( "SEAT" , "Seattle" , 47.603111 , - 122.330747 , GetSeattlePoligon ( ) ) ;
55+ bcn . ChildLocations . Add ( new Locations ( "SEAT-PioneerSqr" , "Seattle Pioneer Square Shop" , 47.602053 , - 122.333884 , GetSeattlePioneerSqrPoligon ( ) ) ) ;
5656 return bcn ;
5757 }
5858
5959 static Locations GetRedmondLocations ( )
6060 {
61- var bcn = new Locations ( ) { Code = "REDM" , Description = "Redmond" , Latitude = 47.674961 , Longitude = - 122.122887 , Polygon = GetRedmondPoligon ( ) } ;
62- bcn . ChildLocations . Add ( new Locations ( ) { Code = "REDM-DWNTWP" , Description = "Redmond Downtown Central Park Shop" , Latitude = 47.674433 , Longitude = - 122.125006 , Polygon = GetRedmondDowntownParkPoligon ( ) } ) ;
61+ var bcn = new Locations ( "REDM" , "Redmond" , 47.674961 , - 122.122887 , GetRedmondPoligon ( ) ) ;
62+ bcn . ChildLocations . Add ( new Locations ( "REDM-DWNTWP" , "Redmond Downtown Central Park Shop" , 47.674433 , - 122.125006 , GetRedmondDowntownParkPoligon ( ) ) ) ;
6363 return bcn ;
6464 }
6565
6666 static List < FrontierPoints > GetUSPoligon ( )
6767 {
6868 var poligon = new List < FrontierPoints > ( ) ;
69- poligon . Add ( new FrontierPoints ( ) { Latitude = 48.7985 , Longitude = - 62.88205 } ) ;
70- poligon . Add ( new FrontierPoints ( ) { Latitude = 48.76513 , Longitude = - 129.31329 } ) ;
71- poligon . Add ( new FrontierPoints ( ) { Latitude = 30.12256 , Longitude = - 120.9496 } ) ;
72- poligon . Add ( new FrontierPoints ( ) { Latitude = 30.87114 , Longitude = - 111.39442 } ) ;
73- poligon . Add ( new FrontierPoints ( ) { Latitude = 24.24979 , Longitude = - 78.11975 } ) ;
69+ poligon . Add ( new FrontierPoints ( 48.7985 , - 62.88205 ) ) ;
70+ poligon . Add ( new FrontierPoints ( 48.76513 , - 129.3132 ) ) ;
71+ poligon . Add ( new FrontierPoints ( 30.12256 , - 120.9496 ) ) ;
72+ poligon . Add ( new FrontierPoints ( 30.87114 , - 111.3944 ) ) ;
73+ poligon . Add ( new FrontierPoints ( 24.24979 , - 78.11975 ) ) ;
7474 return poligon ;
7575 }
7676
7777 static List < FrontierPoints > GetWashingtonPoligon ( )
7878 {
7979 var poligon = new List < FrontierPoints > ( ) ;
80- poligon . Add ( new FrontierPoints ( ) { Latitude = 48.8943 , Longitude = - 124.68633 } ) ;
81- poligon . Add ( new FrontierPoints ( ) { Latitude = 45.66613 , Longitude = - 124.32962 } ) ;
82- poligon . Add ( new FrontierPoints ( ) { Latitude = 45.93384 , Longitude = - 116.73824 } ) ;
83- poligon . Add ( new FrontierPoints ( ) { Latitude = 49.04282 , Longitude = - 116.96912 } ) ;
80+ poligon . Add ( new FrontierPoints ( 48.8943 , - 124.68633 ) ) ;
81+ poligon . Add ( new FrontierPoints ( 45.66613 , - 124.32962 ) ) ;
82+ poligon . Add ( new FrontierPoints ( 45.93384 , - 116.73824 ) ) ;
83+ poligon . Add ( new FrontierPoints ( 49.04282 , - 116.96912 ) ) ;
8484 return poligon ;
8585 }
8686
8787 static List < FrontierPoints > GetSeattlePoligon ( )
8888 {
8989 var poligon = new List < FrontierPoints > ( ) ;
90- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.82929 , Longitude = - 122.36238 } ) ;
91- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.6337 , Longitude = - 122.42091 } ) ;
92- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.45224 , Longitude = - 122.37371 } ) ;
93- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.50259 , Longitude = - 122.20788 } ) ;
94- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.73644 , Longitude = - 122.26934 } ) ;
90+ poligon . Add ( new FrontierPoints ( 47.82929 , - 122.36238 ) ) ;
91+ poligon . Add ( new FrontierPoints ( 47.6337 , - 122.42091 ) ) ;
92+ poligon . Add ( new FrontierPoints ( 47.45224 , - 122.37371 ) ) ;
93+ poligon . Add ( new FrontierPoints ( 47.50259 , - 122.20788 ) ) ;
94+ poligon . Add ( new FrontierPoints ( 47.73644 , - 122.26934 ) ) ;
9595 return poligon ;
9696 }
9797
9898 static List < FrontierPoints > GetRedmondPoligon ( )
9999 {
100100 var poligon = new List < FrontierPoints > ( ) ;
101- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.73148 , Longitude = - 122.15432 } ) ;
102- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.72559 , Longitude = - 122.17673 } ) ;
103- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.67851 , Longitude = - 122.16904 } ) ;
104- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.65036 , Longitude = - 122.16136 } ) ;
105- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.62746 , Longitude = - 122.15604 } ) ;
106- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.63463 , Longitude = - 122.01562 } ) ;
107- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.74244 , Longitude = - 122.04961 } ) ;
101+ poligon . Add ( new FrontierPoints ( 47.73148 , - 122.15432 ) ) ;
102+ poligon . Add ( new FrontierPoints ( 47.72559 , - 122.17673 ) ) ;
103+ poligon . Add ( new FrontierPoints ( 47.67851 , - 122.16904 ) ) ;
104+ poligon . Add ( new FrontierPoints ( 47.65036 , - 122.16136 ) ) ;
105+ poligon . Add ( new FrontierPoints ( 47.62746 , - 122.15604 ) ) ;
106+ poligon . Add ( new FrontierPoints ( 47.63463 , - 122.01562 ) ) ;
107+ poligon . Add ( new FrontierPoints ( 47.74244 , - 122.04961 ) ) ;
108108 return poligon ;
109109 }
110110
111111 static List < FrontierPoints > GetSeattlePioneerSqrPoligon ( )
112112 {
113113 var poligon = new List < FrontierPoints > ( ) ;
114- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.60338 , Longitude = - 122.3327 } ) ;
115- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.60192 , Longitude = - 122.33665 } ) ;
116- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.60096 , Longitude = - 122.33456 } ) ;
117- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.60136 , Longitude = - 122.33186 } ) ;
114+ poligon . Add ( new FrontierPoints ( 47.60338 , - 122.3327 ) ) ;
115+ poligon . Add ( new FrontierPoints ( 47.60192 , - 122.33665 ) ) ;
116+ poligon . Add ( new FrontierPoints ( 47.60096 , - 122.33456 ) ) ;
117+ poligon . Add ( new FrontierPoints ( 47.60136 , - 122.33186 ) ) ;
118118 return poligon ;
119119 }
120120
121121 static List < FrontierPoints > GetRedmondDowntownParkPoligon ( )
122122 {
123123 var poligon = new List < FrontierPoints > ( ) ;
124- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.67595 , Longitude = - 122.12467 } ) ;
125- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.67449 , Longitude = - 122.12862 } ) ;
126- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.67353 , Longitude = - 122.12653 } ) ;
127- poligon . Add ( new FrontierPoints ( ) { Latitude = 47.67368 , Longitude = - 122.12197 } ) ;
124+ poligon . Add ( new FrontierPoints ( 47.67595 , - 122.12467 ) ) ;
125+ poligon . Add ( new FrontierPoints ( 47.67449 , - 122.12862 ) ) ;
126+ poligon . Add ( new FrontierPoints ( 47.67353 , - 122.12653 ) ) ;
127+ poligon . Add ( new FrontierPoints ( 47.67368 , - 122.12197 ) ) ;
128128 return poligon ;
129129 }
130130 }
0 commit comments