Exemplo n.º 1
0
 public RecipesNavigation(IValidationNavigation validationNavigation,
                          IRecipesController recipesController,
                          IRecipesContextMenuNavigation recipesContextMenuNavigation) : base(validationNavigation)
 {
     _recipesController            = recipesController;
     _recipesContextMenuNavigation = recipesContextMenuNavigation;
 }
Exemplo n.º 2
0
 public void Setup()
 {
     _mockRecipeManager = new Mock <IRecipeManager>();
     _mockLogger        = new Mock <ILogger <IRecipesController> >();
     _dataSupplier      = new DataSupplier();
     _controller        = new RecipesController(_mockRecipeManager.Object, _mockLogger.Object);
 }
Exemplo n.º 3
0
 public RecipesContextMenuNavigation(IValidationNavigation validationNavigation,
                                     IRecipesController recipesController,
                                     IAmountRecipeIngredientsNavigation amountRecipeIngredientsNavigation,
                                     ICookingStepsNavigation cookingStepsNavigation) : base(validationNavigation)
 {
     _recipesController = recipesController;
     _amountRecipeIngredientsNavigation = amountRecipeIngredientsNavigation;
     _cookingStepsNavigation            = cookingStepsNavigation;
 }