-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBranchDataStore.cs
37 lines (31 loc) · 1.02 KB
/
BranchDataStore.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
using SimpleBank.API.Models;
namespace SimpleBank.API
{
public class BranchDataStore
{
public List<BranchDto> branches { get; set; }
public BranchDataStore()
{
branches = new List<BranchDto>()
{
new BranchDto() { id = "BRSOM001", address = "Yaaqshid, Juungal", phone = "2091",
tellers = new List<TellerDto>()
{
new TellerDto() { id = "TEL001", name = "Abdi Zamed Mohamed", phone = "618977249"} }
},
new BranchDto() { id = "BRSOM002", address = "Hodan, Taleex", phone = "2092",
tellers = new List<TellerDto>()
{
new TellerDto() { id = "TEL002", name = "Abdi Manan Mohamed", phone = "618977240"}
}
},
new BranchDto() { id = "BRSOM003", address = "Hodan, Isgooska Banaadir", phone = "2093",
tellers = new List<TellerDto>()
{
new TellerDto() { id = "TEL003", name = "Abdi Jimcale Barow", phone = "618977241"}
}
},
};
}
}
}