public Handler(
     IUserAuth userAuth,
     IDishCategory dishCategory)
 {
     _dishCategory = dishCategory;
     _userAuth     = userAuth;
 }
예제 #2
0
 public Handler(
     IUserAuth userAuth,
     IDishCategory dishCategory,
     IDish dish,
     IIngredient ingredient,
     IRecipe recipe)
 {
     _ingredient   = ingredient;
     _recipe       = recipe;;
     _dish         = dish;
     _userAuth     = userAuth;
     _dishCategory = dishCategory;
 }
 public DishController(IAllDishes allDishes, IDishCategory allCategories)
 {
     this.allDishes     = allDishes;
     this.allCategories = allCategories;
 }