public CoffeeController(IBeanVarietyRepository beanVarietyRepository, ICoffeeRepository coffeeRepository) { _beanVarietyRepository = beanVarietyRepository; _coffeeRepository = coffeeRepository; }
public BeanVarietyController(IBeanVarietyRepository beanVarietyRepository) { _beanVarietyRepository = beanVarietyRepository; }
//constructor method public BeanVarietyController(IBeanVarietyRepository beanVarietyRepository) { //dependancy injection _beanVarietyRepository = beanVarietyRepository; }