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