public RecipeService(RecipeDbContext recipeDbContext, NutritioninfoRepository repository, OrderRepository orderRepository) { _context = recipeDbContext; _nutritionInfoRepo = repository; _orderRepo = orderRepository; }
public HomeController(IRecipeService service, NutritioninfoRepository repository) { _service = service; _repository = repository; }