public UsersController(ApplicationUsersRepository applicationUsersRepository, ApplicationUserValidators userValidators, MyHealthContext context) { _applicationUsersRepository = applicationUsersRepository; _Context = context; _userValidators = userValidators; _allowedClaims = new List<string>() { "ManageUsers", "ManageTenants" }; }
public TenantsController(TenantsRepository tenantsRepository, ApplicationUsersRepository applicationUsersRepository, ApplicationUserValidators userValidators) { _TenantsRepository = tenantsRepository; _ApplicationUsersRepository = applicationUsersRepository; _UserValidators = userValidators; }