This commit is contained in:
@@ -14,7 +14,7 @@ namespace AyaNova.Models
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
[Required]
|
||||
public long OwnerId { get; set; }
|
||||
public long UserId { get; set; }
|
||||
//-----------------------------------------
|
||||
[Required]
|
||||
public long AyId { get; set; }
|
||||
@@ -32,10 +32,10 @@ namespace AyaNova.Models
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
public Event(long ownerId, long ayId, AyaType ayType, AyaEvent ayEvent, string textra = null)
|
||||
public Event(long userId, long ayId, AyaType ayType, AyaEvent ayEvent, string textra = null)
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
OwnerId = ownerId;
|
||||
UserId = userId;
|
||||
AyId = ayId;
|
||||
AyType = ayType;
|
||||
AyEvent = ayEvent;
|
||||
@@ -47,10 +47,10 @@ namespace AyaNova.Models
|
||||
}
|
||||
}
|
||||
|
||||
public Event(long ownerId, long ayId, AyaType ayType, AyaEvent ayEvent, DateTime created, string textra = null)
|
||||
public Event(long userId, long ayId, AyaType ayType, AyaEvent ayEvent, DateTime created, string textra = null)
|
||||
{
|
||||
Created = created;
|
||||
OwnerId = ownerId;
|
||||
UserId = userId;
|
||||
AyId = ayId;
|
||||
AyType = ayType;
|
||||
AyEvent = ayEvent;
|
||||
|
||||
Reference in New Issue
Block a user