namespace LibraryApp.Domain; public record DbId { public string Id { get; init; } public bool BlankId => string.IsNullOrWhiteSpace(Id); public DbId(string id) { if(id is null) throw new ArgumentNullException(nameof(id)); Id = id; } }