public Task AddEntry(Workflow workflow, FileRef file, FileStage stage, string message = null, string refData = null) { _auditLogEntryCollection.Insert(new AuditLogEntry { DateCreated = DateTimeOffset.UtcNow, WorkflowName = workflow.Name, FileName = file.Name, FileStage = stage, Message = message ?? string.Empty, Reference = refData ?? string.Empty }); return(Task.CompletedTask); }
public void Update(FileStage entity) { Session.Update(entity); }