public RecipeNameIsExistQueryHandler(RecipeBookReadOnlyDbContext context, IRecipeValidatorService recipeValidatorService) : base(context)
 {
     _recipeValidatorService = recipeValidatorService;
 }
Пример #2
0
 public CreateRecipeCommandHandler(RecipeBookDbContext context, IRecipeValidatorService recipeValidatorService, IRecipeIngredientService recipeIngredientService) : base(context)
 {
     _recipeValidatorService  = recipeValidatorService;
     _recipeIngredientService = recipeIngredientService;
 }