Esempio n. 1
0
 static void main()
 {
     DrinkRepository repository = new DrinkRepository();
     CoffeeStore st1 = new CoffeeStore() { Eircode = "C15C98E", Location = "O' Connell St. Limerick", OpeningTime = OpeningHour.AM0700, ClosingTime = ClosingHour.PM1730, StoreName = "Starbucks" };
     repository.AddStore(st1);
 }
Esempio n. 2
0
 static void main()
 {
     DrinkRepository repository = new DrinkRepository();
     CoffeeStore st1 = new CoffeeStore() { Eircode = "C15C98E", Location = "O' Connell St. Limerick", IsOpen = true, StoreName = "Starbucks", StoreRating = 0 };
     repository.AddStore(st1);
 }