Example #1
0
 public CategoriesController
 (
     IRecipeQueries recipeQueries,
     ISaveCategoryCommandHandler saveCategoryCommandHandler
 )
 {
     _recipeQueries = recipeQueries;
     _saveCategoryCommandHandler = saveCategoryCommandHandler;
 }
Example #2
0
 public RecipesController
 (
     IRecipeQueries recipeQueries,
     ISaveRecipeCommandHandler saveRecipeCommandHandler
 )
 {
     _recipeQueries            = recipeQueries;
     _saveRecipeCommandHandler = saveRecipeCommandHandler;
 }