//private readonly RoleManager<Role> _roleManager; public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, EtsyContext db, IAddressRepository addressRepo = null) { _userManager = userManager; _signInManager = signInManager; _db = db; if (addressRepo == null) { _addressRepo = new EFAddressRepository(); } else { _addressRepo = addressRepo; } }
//private readonly RoleManager<Role> _roleManager; public PeopleController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, EtsyContext db) { _userManager = userManager; _signInManager = signInManager; _db = db; }