public EFProductRepository(MariosFoodsContext connection = null) { if (connection == null) { this.db = new MariosFoodsContext(); } else { this.db = connection; } }
public ToDoController(UserManager <ApplicationUser> userManager, MariosFoodsContext db) { _userManager = userManager; _db = db; }
public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, MariosFoodsContext db) { _userManager = userManager; _signInManager = signInManager; _db = db; }