Exemplo n.º 1
0
 public HomeController(
     IShoppingBeerService beers,
     IShoppingAccessoryService accessories,
     IShoppingGiftSetService giftSets,
     IShoppingGlassService glasses,
     IShoppingCountryService countries)
 {
     this.beers       = beers;
     this.accessories = accessories;
     this.giftSets    = giftSets;
     this.glasses     = glasses;
     this.countries   = countries;
 }
 public OrdersController(
     IShoppingAddressService addresses,
     IShoppingBeerService beers,
     IShoppingAccessoryService accessories,
     IShoppingGiftSetService giftSets,
     IShoppingGlassService glasses,
     IShoppingUserService users,
     IShoppingOrderService orders,
     UserManager <User> userManager)
 {
     this.addresses   = addresses;
     this.beers       = beers;
     this.accessories = accessories;
     this.giftSets    = giftSets;
     this.glasses     = glasses;
     this.users       = users;
     this.orders      = orders;
     this.userManager = userManager;
 }
 public GiftSetsController(IShoppingGiftSetService giftSets)
 {
     this.giftSets = giftSets;
 }