public RecipeController(IRecipeDAL recipeDAL, IUserDAL userDal, IRecipeIngredientDAL recipeIngredientDAL, IIngredientDAL ingredientDAL, IPreparationStepsDAL preparationStepsDAL, IMealDAL mealDAL) { this.recipeDAL = recipeDAL; this.userDAL = userDal; this.recipeIngredientDAL = recipeIngredientDAL; this.ingredientDAL = ingredientDAL; this.preparationStepsDAL = preparationStepsDAL; this.mealDAL = mealDAL; }
public MealController(IRecipeDAL recipeDAL, IUserDAL userDAL, IMealDAL mealDAL) { this.recipeDAL = recipeDAL; this.userDAL = userDAL; this.mealDAL = mealDAL; }