Esempio n. 1
0
 public RecipeController(IRecipeDAO recipeDAO)
 {
     this.recipeDAO = recipeDAO;
 }
Esempio n. 2
0
 public RecipeIngredientsController(IRecipeIngredientDAO recipeIngredientsDAO, IRecipeDAO recipeDAO)
 {
     this.recipeIngredientsDAO = recipeIngredientsDAO;
     this.recipeDAO            = recipeDAO;
 }
Esempio n. 3
0
 public RecipeController(IRecipeDAO recipeDAO, IAuthProvider authProvider) : base(authProvider)
 {
     this.recipeDAO = recipeDAO;
 }
Esempio n. 4
0
 public MealsController(IRecipeDAO recipedao, IMealDAO mealdao)
 {
     this.recipeDAO = recipedao;
     this.mealDAO   = mealdao;
 }
Esempio n. 5
0
 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;
 }