This commit is contained in:
@@ -141,6 +141,10 @@ namespace AyaNova.Biz
|
||||
.ThenInclude(wi => wi.OutsideServices)
|
||||
.SingleOrDefaultAsync(z => z.Id == id);
|
||||
|
||||
//todo: set isLocked from state
|
||||
ret.IsLocked=false;
|
||||
ret.IsDirty=false;
|
||||
|
||||
if (logTheGetEvent && ret != null)
|
||||
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, id, BizType, AyaEvent.Retrieved), ct);
|
||||
return ret;
|
||||
|
||||
@@ -67,7 +67,8 @@ namespace AyaNova.Models
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
[NotMapped]
|
||||
public bool IsLocked { get; set; } = false;//not by default but state may determine it's locked
|
||||
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user