public RecipesController(IRecipeRepository recipeRepository, IIngredientParser ingredientParser, IMapper mapper) { _recipeRepository = recipeRepository; _ingredientParser = ingredientParser; _mapper = mapper; }
public IngredientImporter(IIngredientParser ingredientParser, IIngredientFileReader ingredientFileReader, IIngredientRepository ingredientRepository) { this.ingredientParser = ingredientParser; this.ingredientFileReader = ingredientFileReader; this.ingredientRepository = ingredientRepository; }
public RecipeParser(IIngredientParser ingredientParser) { this.ingredientParser = ingredientParser; }
public MMFRecipeParser(IIngredientParser ingredientParser) { IngredientParser = ingredientParser; }