public RecipeNameIsExistQueryHandler(RecipeBookReadOnlyDbContext context, IRecipeValidatorService recipeValidatorService) : base(context)
 {
     _recipeValidatorService = recipeValidatorService;
 }
Exemplo n.º 2
0
 public CreateRecipeCommandHandler(RecipeBookDbContext context, IRecipeValidatorService recipeValidatorService, IRecipeIngredientService recipeIngredientService) : base(context)
 {
     _recipeValidatorService  = recipeValidatorService;
     _recipeIngredientService = recipeIngredientService;
 }