public RecipeNameIsExistQueryHandler(RecipeBookReadOnlyDbContext context, IRecipeValidatorService recipeValidatorService) : base(context) { _recipeValidatorService = recipeValidatorService; }
public CreateRecipeCommandHandler(RecipeBookDbContext context, IRecipeValidatorService recipeValidatorService, IRecipeIngredientService recipeIngredientService) : base(context) { _recipeValidatorService = recipeValidatorService; _recipeIngredientService = recipeIngredientService; }