public RecipesController(IRecipeService recipeService, ICuisineService cuisineService, IDificultyService difficultyService, IRecipeIngredientService recipeIngredientService, IRecipeCategoryService recipeCategoryService, IRecipeOccasionService recipeOccasionService, IRecipeStepService recipeStepService, IUserRatingService userRatingService, ICommentService commentService ) { _recipeService = recipeService; _cuisineService = cuisineService; _difficultyService = difficultyService; _recipeCategoryService = recipeCategoryService; _recipeIngredientService = recipeIngredientService; _recipeOccasionService = recipeOccasionService; _recipeStepService = recipeStepService; _userRatingService = userRatingService; _commentService = commentService; }
public RecipeController(IRecipeService recipeService, IRecipeCategoryService recipeCategoryService) { _recipeService = recipeService; _recipeCategoryService = recipeCategoryService; }
public RecipeCategoriesController(ICommandDispatcher commandDispatcher, IRecipeCategoryService categoryService) : base(commandDispatcher) { _categoryService = categoryService; }
public RecipeCategoryServiceTests() { _repository = Substitute.For <IRepository <RecipeCategory> >(); _service = new RecipeCategoryService(_repository); }
public RecipeCategoriesController(IRecipeCategoryService RecipeCategoryService) { _recipeCategoryService = RecipeCategoryService; }