Remove the City constructor
The City from the AirlineService doesn't have a constructor.
This commit is contained in:
parent
8b3d023ff8
commit
9a05c51473
|
@ -28,7 +28,12 @@ namespace Plattform.Helper
|
||||||
{
|
{
|
||||||
foreach (var item in ListCities)
|
foreach (var item in ListCities)
|
||||||
{
|
{
|
||||||
Cities.Add(new City(item, 3300));
|
Cities.Add(new City
|
||||||
|
{
|
||||||
|
Name = item,
|
||||||
|
ZipCode = 3300
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return Cities;
|
return Cities;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue