-
Notifications
You must be signed in to change notification settings - Fork 0
/
CitiesDataStore.cs
60 lines (55 loc) · 1.69 KB
/
CitiesDataStore.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
namespace CityInfo.API;
using CityInfo.API.Models;
public class CitiesDataStore
{
public List<CityDto> Cities { get; set; }
public static CitiesDataStore Current { get; } = new CitiesDataStore();
public CitiesDataStore()
{
Cities = new List<CityDto>()
{
new CityDto()
{
Id =1,
Name = "Caracas",
Description = "Una mierda",
PointsOfInterest = new List<PointOfInterestDto>()
{
new PointOfInterestDto()
{
Id = 5,
Name = "Petare",
Description = "Te van a robar y matar"
},
new PointOfInterestDto()
{
Id = 5,
Name = "La guaira",
Description = "Una playa asquerosa"
}
}
},
new CityDto()
{
Id =2,
Name = "Bogata",
Description = "Menos mierda",
PointsOfInterest = new List<PointOfInterestDto>()
{
new PointOfInterestDto()
{
Id = 7,
Name = "Casa de Choco",
Description = "Pa partiles el culo en smash"
},
new PointOfInterestDto()
{
Id = 6,
Name = "El Sur",
Description = "Donde te violan"
}
}
},
};
}
}