Exemplo n.º 1
0
 public HomeController(IAllVegetables vegetablesRep)
 {
     _vegetablesRep = vegetablesRep;
 }
Exemplo n.º 2
0
 public VegetablesController(IAllVegetables iAllVegetables, IVegetablesCategory iVegetablesCat)
 {
     _allVegetables = iAllVegetables;
     _allCategories = iVegetablesCat;
 }
Exemplo n.º 3
0
 public ShopCartController(IAllVegetables vegetablesRep, ShopCart shopCart)
 {
     _vegetablesRep = vegetablesRep;
     _shopCart      = shopCart;
 }