public HomeController(IIngredientRepository repoService, IRecipeRepository repoRecipe, IIngredientLineRepository repoLine, IMeasureRepository repoMeasure,
                       IRecipeCommentRepository repoComment)
 {
     repository  = repoService;
     recipeRepo  = repoRecipe;
     lineRepo    = repoLine;
     measureRepo = repoMeasure;
     commentRepo = repoComment;
 }
Ejemplo n.º 2
0
 public ManageSpamController(INewsCommentRepository newsCommentRepository, ITipCommentRepository tipCommentRepository, IRecipeCommentRepository recipeCommentRepository, IQuestionRepository questionRepository, IAnswerRepository answerRepository, INewsRepository newsRepository, ITipRepository tipRepository, IRecipeRepository recipeRepository)
 {
     _newsCommentRepository = newsCommentRepository;
     _tipCommentRepository = tipCommentRepository;
     _recipeCommentRepository = recipeCommentRepository;
     _questionRepository = questionRepository;
     _answerRepository = answerRepository;
     _newsRepository = newsRepository;
     _tipRepository = tipRepository;
     _recipeRepository = recipeRepository;
 }
Ejemplo n.º 3
0
 public RecipeCommentsController(IRecipeCommentRepository commentRepository)
 {
     _commentRepository = commentRepository;
 }