public RecipeController(IRecipeDAO recipeDAO) { this.recipeDAO = recipeDAO; }
public RecipeIngredientsController(IRecipeIngredientDAO recipeIngredientsDAO, IRecipeDAO recipeDAO) { this.recipeIngredientsDAO = recipeIngredientsDAO; this.recipeDAO = recipeDAO; }
public RecipeController(IRecipeDAO recipeDAO, IAuthProvider authProvider) : base(authProvider) { this.recipeDAO = recipeDAO; }
public MealsController(IRecipeDAO recipedao, IMealDAO mealdao) { this.recipeDAO = recipedao; this.mealDAO = mealdao; }
public RecipesController(IRecipeDAO recipedao, IIngredientDAO IngredientDAO, IRecipeIngredientDAO RecipeIngredientDAO) { this.recipeDAO = recipedao; this.ingredientDAO = IngredientDAO; this.recipeIngredientDAO = RecipeIngredientDAO; }
/// <summary> /// constructor /// </summary> /// <param name="dao"></param> public MealPlanController(IRecipeDAO dao) { this.dao = dao; }