Exemplo n.º 1
0
 public IngredientService(
     IUnitOfWork unitOfWork,
     IIngredientRepsitory ingredientRepository
     )
 {
     _unitOfWork           = unitOfWork;
     _ingredientRepository = ingredientRepository;
 }
Exemplo n.º 2
0
 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;
 }