Exemplo n.º 1
0
        public void WhenTheUserIsGivenTheRole(string name, string role)
        {
            Guid roleId = MockDatabase.GetRole(role).Id;

            Try(() => IdentityManagementService.AddUserRole(nameIdentifierPairs[name], roleId));
        }