public HomeController(IRecipe recipe, IInstruction instructions, IIngredient ingredient, IComment comment, ISavedRecipe savedRecipe) { _Recipe = recipe; _Instruction = instructions; _Ingredient = ingredient; _Comment = comment; _SavedRecipe = savedRecipe; }
public RecipesController(IIngredient ingredient, IInstruction instruction, IRecipe recipe, ISavedRecipe savedRecipe, SignInManager <ApplicationUser> signInManager) { _Ingredient = ingredient; _Instruction = instruction; _Recipe = recipe; _SavedRecipe = savedRecipe; _SignInManager = signInManager; }
public SavedRecipeController(ISavedRecipe context) { _context = context; }
public SavedRecipesController(ISavedRecipe savedRecipe, UserManager <ApplicationUser> userManager, IRecipe recipe, IInstruction instruction, IIngredient ingredient) { _Context = savedRecipe; _UserManager = userManager; _RecipeContext = recipe; }