Exemplo n.º 1
0
 public ShoppingBasketController(IShoppingBasketManager manager, ICoffeeDataAccess coffeeDataAccess, IServiceProvider services) : base(services)
 {
     this.manager          = manager;
     this.coffeeDataAccess = coffeeDataAccess;
 }
Exemplo n.º 2
0
 public HomeController(ICoffeeDataAccess coffDataAccess)
 {
     this.coffDataAccess = coffDataAccess;
 }
Exemplo n.º 3
0
 public CoffeeApiController(ICoffeeDataAccess coffeeDataAccess)
 {
     this.coffeeDataAccess = coffeeDataAccess;
 }
 public ShoppingBasketDataAccess(ICoffeeShopDatabaseFactory factory, ICoffeeDataAccess coffeeDataAccess)
 {
     this.coffeeDatabase   = factory.GetCoffeeDatabase();
     this.coffeeDataAccess = coffeeDataAccess;
 }