Basic Metadata Polish (#3548)

This commit is contained in:
Joe Milazzo 2025-02-14 15:23:52 -06:00 committed by GitHub
parent c0b59d87a4
commit 4c44dbf3e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 3596 additions and 467 deletions

View file

@ -61,4 +61,10 @@ public class AppUserBuilder : IEntityBuilder<AppUser>
return this;
}
public AppUserBuilder WithRole(string role)
{
_appUser.UserRoles ??= new List<AppUserRole>();
_appUser.UserRoles.Add(new AppUserRole() {Role = new AppRole() {Name = role}});
return this;
}
}