Add seed-fetching service

This commit is contained in:
2025-02-26 15:58:45 -06:00
parent 387e00f160
commit b7230950b2
7 changed files with 123 additions and 27 deletions

View File

@@ -4,7 +4,7 @@
public class IdGenerator {
private const string chars = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789";
private const int length = 10;
private static Random random = new Random();
private static readonly Random random = new Random();
public string GenerateId() {
var str = new char[length];