This commit is contained in:
@@ -10,8 +10,7 @@ namespace AyaNova.Models
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
[Required]
|
||||
public long OwnerId { get; set; }
|
||||
|
||||
|
||||
//-------------
|
||||
[EmailAddress]
|
||||
@@ -33,12 +32,10 @@ namespace AyaNova.Models
|
||||
public long UserId { get; set; }//will be auto-set by EF due to relationship defined
|
||||
|
||||
|
||||
public UserOptions(long ownerId)
|
||||
public UserOptions()
|
||||
{
|
||||
|
||||
TimeZoneOffset = 0;
|
||||
UiColor = 0;
|
||||
OwnerId = ownerId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user