This is using asp.net core with identity and entity framework core. I working on a saas application where I have a separate admin web app where you can add new tenants to t
The solution of the problem in this way
static IUserStore _store = new UserStore(new context()); static UserManager _userManager = new UserManager(_store, null, new PasswordHasher(), null, null, null, null, null, null);