Ejemplo n.º 1
0
 public DbRestaurantRepository(RestaurantsDbContext db)
 {
     _db = db;
 }
Ejemplo n.º 2
0
 public RestaurantMenuService(RestaurantsDbContext restaurantsDbContext, IRestaurantsEventsManager restaurantEventManager)
 {
     this.restaurantsDbContext   = restaurantsDbContext;
     this.restaurantEventManager = restaurantEventManager;
 }
Ejemplo n.º 3
0
 public RestaurantsController(RestaurantsDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public RestaurantService(RestaurantsDbContext restaurantsDbContext)
 {
     this.restaurantsDbContext = restaurantsDbContext;
 }
 public SqlRestaurantData(RestaurantsDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public RestaurantsRepositoryDb(RestaurantsDbContext restaurantsDbContext)
 {
     _restaurantsDbContext = restaurantsDbContext;
 }
 public FoodItemsRepository(RestaurantsDbContext restaurantsDbContext)
 {
     _restaurantsDbContext = restaurantsDbContext;
 }
 public RestaurantRepository(RestaurantsDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 9
0
 public DbEstablishments(RestaurantsDbContext db)
 {
     _db = db;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Parameterized constructor
 /// </summary>
 public HomeController(ILogger <HomeController> logger, IEstablishments goEats, RestaurantsDbContext db)
 {
     _logger = logger;
     _goEats = goEats;
     _db     = db;
 }