public PurchaseController(IngredientProcessor ingredientProcessor, RecipeProcessor recipeProcessor, SessionManager <Purchase> sessionManager) { this.recipeProcessor = recipeProcessor; this.sessionManager = sessionManager; this.ingredientProcessor = ingredientProcessor; }
static void Main(string[] args) { Console.WriteLine("Hello World!"); SqlDataAccess sqlDataAccess = new SqlDataAccess() IngredientProcessor ingredientProcessor = new IngredientProcessor(sqlDataAccess); }
public CompoundModelBuilder(RecipeProcessor recipeProcessor, IngredientProcessor ingredientProcessor, CuisineProcessor cuisineProcessor, CategoryProcessor categoryProcessor) { this.cuisineProcessor = cuisineProcessor; this.recipeProcessor = recipeProcessor; this.ingredientProcessor = ingredientProcessor; this.categoryProcessor = categoryProcessor; }
public IngredientController(IngredientProcessor ingredientProcessor, CategoryProcessor categoryProcessor, IMapper mapper, SessionManager <ItemInfo> sessionManager, CompoundModelBuilder compoundModelBuilder) { this.mapper = mapper; this.ingredientProcessor = ingredientProcessor; this.categoryProcessor = categoryProcessor; this.sessionManager = sessionManager; this.compoundModelBuilder = compoundModelBuilder; }
public CategorySelectionViewComponent(IngredientProcessor ingredientProcessor) { this.ingredientProcessor = ingredientProcessor; }