Save
This commit is contained in:
@ -31,4 +31,17 @@ public static class Faker
|
||||
{
|
||||
return Users[Random.Shared.Next(0, Users.Count)];
|
||||
}
|
||||
|
||||
public static BoostingUser GetRandomBoostingUser()
|
||||
{
|
||||
var user = Users[Random.Shared.Next(0, Users.Count)];
|
||||
return new()
|
||||
{
|
||||
UserId = user.UserId,
|
||||
DisplayName = user.DisplayName,
|
||||
UserName = user.UserName,
|
||||
PictureUrl = user.PictureUrl,
|
||||
ProfileUrl = user.ProfileUrl
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user