public HomeController(IIngredientRepository repoService, IRecipeRepository repoRecipe, IIngredientLineRepository repoLine, IMeasureRepository repoMeasure, IRecipeCommentRepository repoComment) { repository = repoService; recipeRepo = repoRecipe; lineRepo = repoLine; measureRepo = repoMeasure; commentRepo = repoComment; }
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; }
public RecipeCommentsController(IRecipeCommentRepository commentRepository) { _commentRepository = commentRepository; }