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

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