Implement option to update billing address

This commit is contained in:
2023-04-27 20:20:56 +02:00
parent 8ffd478ca9
commit 15f999869a
5 changed files with 65 additions and 51 deletions

View File

@ -151,7 +151,7 @@ namespace Elwig.Models {
.ToHashSet();
[InverseProperty("Member")]
public virtual BillingAddr BillingAddress { get; private set; }
public virtual BillingAddr? BillingAddress { get; private set; }
public int SearchScore(IEnumerable<string> keywords) {
keywords = keywords.Where(s => s.Length >= 2 || (s.Length > 0 && s.All(c => char.IsAsciiDigit(c))));