Added lazy loading and fixed private properties not deserializing
This commit is contained in:
@@ -16,7 +16,7 @@ namespace BrightGlimmer.Domain
|
||||
[JsonProperty]
|
||||
public int Number { get; private set; }
|
||||
|
||||
private Phone() { }
|
||||
protected Phone() { }
|
||||
|
||||
public Phone(PhoneType type, int areaCode, int number)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user