public CountryController() { Country usa = new Country(); usa.Name = "United States of America"; usa.Continent = "North America"; usa.Colors = new List <string> { "red", "white", "blue" }; CountryDb.Add(usa); Country jamaica = new Country(); jamaica.Name = "Jamaica"; jamaica.Continent = "North America"; jamaica.Colors = new List <string> { "green", "gold", "black" }; CountryDb.Add(jamaica); Country spain = new Country(); spain.Name = "Spain"; spain.Continent = "Europe"; spain.Colors = new List <string> { "red", "gold" }; CountryDb.Add(spain); Country rwanda = new Country(); rwanda.Name = "Rwanda"; rwanda.Continent = "Africa"; rwanda.Colors = new List <string> { "blue", "yellow" }; CountryDb.Add(rwanda); Country germany = new Country(); germany.Name = "Germany"; germany.Continent = "Europe"; germany.Colors = new List <string> { "black", "red", "gold" }; CountryDb.Add(germany); }
public CountryTable(CountryDb injectDb) { db = injectDb; }
public CountryRepository() { _db = new CountryDb(); }
public ActivityRepository() { _db = new CountryDb(); }
public RegionList(CountryDb injectDb) { db = injectDb; }
public CountryController(CountryDb countryDb) { db = countryDb; }
public ContinentList(CountryDb injectDb) { db = injectDb; }
public RegionController(CountryDb countryDb) { db = countryDb; }
public AddressController(CountryDb injectDb) { db = injectDb; }
public ContinentController(CountryDb injectDb) { db = injectDb; }
public StreetController(CountryDb countryDb) { db = countryDb; }