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