示例#1
0
 public PizzaService(IPizzaContext pizzaContext)
 {
     _pizzaContext = pizzaContext;
 }
 public PizzaRepository(IIngredientContext ingredientcontext, IPizzaContext pizzacontext)
 {
     this._ingredientcontext = ingredientcontext;
     this._pizzacontext      = pizzacontext;
 }
 public ArtikelRepository(IIngredientContext ingredientcontext, IProductContext productcontext, IPizzaContext pizzacontext)
 {
     this._ingredientcontext = ingredientcontext;
     this._pizzacontext      = pizzacontext;
     this._productcontext    = productcontext;
 }