public IngredientController(IGetIngredient getIngredient, ICreateIngredient createIngredient, IUpdateIngredient updateIngredient, IIngredientService ingredientService, IngredientEditModel ingredientEditModel)
 {
     this._createIngredient   = createIngredient;
     this._getIngredient      = getIngredient;
     this._ingredientService  = ingredientService;
     this._updateIngredient   = updateIngredient;
     this.IngredientEditModel = ingredientEditModel;
 }
예제 #2
0
 public IngredientService(IGetIngredient getIngredient)
 {
     this._getIngredient = getIngredient;
 }