public IngredientService( IUnitOfWork unitOfWork, IIngredientRepsitory ingredientRepository ) { _unitOfWork = unitOfWork; _ingredientRepository = ingredientRepository; }
public RecipeService( IUnitOfWork unitOfWork, IRecipeRepository recipeRepository, IIngredientRepsitory ingredientRepository ) { _unitOfWork = unitOfWork; _recipeRepository = recipeRepository; _ingredientRepository = ingredientRepository; }
public ShoppingCartService( IUnitOfWork unitOfWork, IShoppingCartRepository shoppingCartRepository, IIngredientRepsitory ingredientRepository, IRecipeRepository recipeRepository ) { _unitOfWork = unitOfWork; _shoppingCartRepository = shoppingCartRepository; _ingredientRepository = ingredientRepository; _recipeRepository = recipeRepository; }