public UserController(DataRepository repository, BbBContext bbB, SignInManager <IdentityUser> signInManager) { data = repository; context = bbB; _signInManager = signInManager; }
public DataRepository(BbBContext input) { bbBContext = input ?? throw new ArgumentException(nameof(input)); }