Пример #1
0
 public MenuCardService(IDrinkRepository drinkRepository,
                        IPizzaRepository pizzaRepository,
                        ISaladRepository saladRepository,
                        ISauceRepository sauceRepository)
 {
     _drinkRepository = drinkRepository;
     _pizzaRepository = pizzaRepository;
     _saladRepository = saladRepository;
     _sauceRepository = sauceRepository;
 }
Пример #2
0
 public SaladController(ISaladRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }