public UsersController(ApplicationUsersRepository applicationUsersRepository, ApplicationUserValidators userValidators, MyHealthContext context)
        {
            _applicationUsersRepository = applicationUsersRepository;
            _Context = context;
            _userValidators = userValidators;

            _allowedClaims = new List<string>() { "ManageUsers", "ManageTenants" };
        }
예제 #2
0
 public TenantsController(TenantsRepository tenantsRepository, ApplicationUsersRepository applicationUsersRepository, ApplicationUserValidators userValidators)
 {
     _TenantsRepository = tenantsRepository;
     _ApplicationUsersRepository = applicationUsersRepository;
     _UserValidators = userValidators;
 }