Ejemplo n.º 1
0
 public InMemoryResturantData(ILogger <InMemoryResturantData> logger, ICustomService service)
 {
     this.service = service;
     service.DoNothing();
     this.logger = logger;
     resturants  = new List <Resturant>()
     {
         new Resturant {
             Id = 1, Cuisine = CuisineType.Indian, Location = "Bnei Braq", Name = "Tsipori"
         },
         new Resturant {
             Id = 2, Cuisine = CuisineType.Italian, Location = "Ramat Gan", Name = "Pitzale"
         },
         new Resturant {
             Id = 3, Cuisine = CuisineType.None, Location = "Airport City", Name = "Neeman"
         }
     };
 }