Beispiel #1
0
 public DrinksController(ApplicationDbContext context, IStorageService storageService)
 {
     _context        = context;
     _storageService = storageService;
     _drinkMapper    = new DrinkMapper();
 }
Beispiel #2
0
 public IngredientMapper(ApplicationDbContext context)
 {
     _context     = context;
     _drinkMapper = new DrinkMapper();
     _mealMapper  = new MealMapper();
 }