24 lines
708 B
C#
24 lines
708 B
C#
|
using AddressBookApi.Models.Dto;
|
||
|
|
||
|
namespace AddressBookApi.DataStore;
|
||
|
|
||
|
public static class AddressStore
|
||
|
{
|
||
|
public static List<AddressDto> addressList = new List<AddressDto>
|
||
|
{
|
||
|
new AddressDto
|
||
|
{
|
||
|
Id = 1, Name = "Fred Sanford", Street = "10 ItsTheBigOne Avenue", City = "Los Angeles",
|
||
|
PostCode = "90201"
|
||
|
},
|
||
|
new AddressDto
|
||
|
{
|
||
|
Id = 2, Name = "Barney Fife", Street = "25 AweShucksAndy Street", City = "Mayberry", PostCode = "012345"
|
||
|
},
|
||
|
new AddressDto
|
||
|
{
|
||
|
Id = 3, Name = "Greg Gauthier", Street = "84 Lizmans Court; Silkdale Close", City = "Oxford",
|
||
|
PostCode = "OX4 2HG"
|
||
|
}
|
||
|
};
|
||
|
}
|