public MicrosoftAccount(MicrosoftIdentity identity, EmailIdentity email, string?firstName, string?lastName) { Identity = identity; Email = email; FirstName = firstName; LastName = lastName; }
public void AddMicrosoft(MicrosoftIdentity identity, string name) { var now = DateTime.UtcNow; _identities.Add(new MicrosoftIdentityModel(identity.Value, name, now)); UpdatedAt = now; }