public RecipeRepositoryAdapter(IRecipeMapper recipeMapper, IRecipeDataReader recipeDataReader, IRecipeDataWriter recipeDataWriter) { _recipeMapper = recipeMapper; _recipeDataReader = recipeDataReader; _recipeDataWriter = recipeDataWriter; }
public RecipeController( IRecipeMapper mapper, IRecipeService service, ITypeHandler typeHandler, IRepositoryAdvanced <Ingredient> ingredientRepository) { this.mapper = mapper; this.service = service; this.typeHandler = typeHandler; this.ingredientRepository = ingredientRepository; }
public RecipeQueries ( ICategoryRepository categoryRepository, IRecipeRepository recipeRepository, IRecipeMapper recipeMapper ) { _categoryRepository = categoryRepository; _recipeRepository = recipeRepository; _recipeMapper = recipeMapper; }
public RecipesController( ICookingProcedureProvider cookingProcedureProvider, IIngredientProvider ingredientProvider, IIngredientMapper ingredientMapper, IRecipeProvider recipeProvider, IRecipeMapper recipeMapper, IPdfGenerator pdfGenerator, IScraper scraper, IRecipeParser RecipeParser, ISiteSettingsProvider siteSettingsProvider, IFileHandler fileHandler ) { this.cookingProcedureProvider = cookingProcedureProvider; this.ingredientProvider = ingredientProvider; this.ingredientMapper = ingredientMapper; this.recipeProvider = recipeProvider; this.recipeMapper = recipeMapper; this.pdfGenerator = pdfGenerator; this.scraper = scraper; this.RecipeParser = RecipeParser; this.siteSettingsProvider = siteSettingsProvider; this.fileHandler = fileHandler; }
public RecipeProvider(IRecipeRepository recipeRepository, IRecipeMapper mapper) { this.recipeRepository = recipeRepository; this.mapper = mapper; }