public CoffeeService(ICoffeeRepo repo) { _repo = repo; }
public CoffeeAPILogic(ICoffeeRepo coffeeRepo, IUserRatingRepo userRatingRepo, ICoffeeUserRatingRepo coffeeUserRatingRepo) { this._coffeeRepo = coffeeRepo; this._userRatingRepo = userRatingRepo; this._coffeeUserRatingRepo = coffeeUserRatingRepo; }
public CoffeeController(ICoffeeRepo coffeeRepo) { _coffeeRepo = coffeeRepo; }