public IngredientsController(UserManager <ApplicationUser> userManager, RecipeBoxContext db) { _userManager = userManager; _db = db; }
public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, RecipeBoxContext db) { _userManager = userManager; _signInManager = signInManager; _db = db; }
public TagsController(RecipeBoxContext db) { _db = db; }
public CategoriesController(UserManager <ApplicationUser> userManager, RecipeBoxContext db) { _userManager = userManager; _db = db; }
public RecipesController(RecipeBoxContext context) { _context = context; }
public HomeController(RecipeBoxContext db) { _db = db; }
public CategoriesController(RecipeBoxContext db) { _db = db; }
public RecipesController(UserManager <ApplicationUser> userManager, RecipeBoxContext db) { _db = db; _userManager = userManager; }
public IngredientsController(RecipeBoxContext db) { _db = db; }
public CuisinesController(RecipeBoxContext db) { _db = db; }
private readonly RecipeBoxContext _db; // Defining the Database as Template public CategoriesController(RecipeBoxContext db) //constructor for the controller { _db = db; }