-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDataInitializer.cs
29 lines (28 loc) · 893 Bytes
/
DataInitializer.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
using DataModel.EntityModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Text.TestHelper
{
//This will be used for all the test data initilizer;
public class DataInitializer
{
/// <summary>
/// Dummy hotels
/// </summary>
/// <returns></returns>
public static List<Hotel> GetAllHotels()
{
var hotels = new List<Hotel>
{
new Hotel() {Hotel_Name = "Travel Lodge"},
new Hotel() {Hotel_Name = "Holiday Inn"},
new Hotel() {Hotel_Name = "Hilton"},
new Hotel() {Hotel_Name = "Ibis"},
};
return hotels;
}
}
}