Example #1
0
 public RecipeListModel(IRecipeRepository recipeRepository, IRecipeImageRepository recipeImageRepository, IUserFavoriteRecipeRepository userFavoriteRecipeRepository, IUserRepository
                        userRepository) : base(userRepository)
 {
     this.recipeRepository             = recipeRepository;
     this.recipeImageRepository        = recipeImageRepository;
     this.userFavoriteRecipeRepository = userFavoriteRecipeRepository;
 }
Example #2
0
 public RecipeController(IRecipeRepository recipeRepository, IItemRepository itemRepository, IUnitRepository unitRepository, IRecipeImageRepository recipeImageRepository, IUserFavoriteRecipeRepository userFavoriteRecipeRepository, IUserRepository userRepository) : base(userRepository)
 {
     this.recipeRepository             = recipeRepository;
     this.itemRepository               = itemRepository;
     this.unitRepository               = unitRepository;
     this.recipeImageRepository        = recipeImageRepository;
     this.userFavoriteRecipeRepository = userFavoriteRecipeRepository;
 }