using System.Collections.Generic; using Plattform.Models; using Plattform.AirlineService; namespace Plattform.Helper { public static class GenerateData { private static List Cities = new List(); private static List RoomTypes = new List(); private static List ListRoomTypes = new List(new string[] { "Single Bed", "Double Bed", "Suite" }); private static List ListCities = new List(new string[] { "Bern" }); public static List CreateRoomTypes() { foreach (var item in ListRoomTypes) { RoomTypes.Add(new RoomType(item, 2, "blubl")); } return RoomTypes; } public static List CreateCities() { foreach (var item in ListCities) { Cities.Add(new City(item, 3300)); } return Cities; } } }