public async Task AddOrUpdateAsync(AuditLogEntryDTO dto)
 {
     await AddOrUpdateAsync(new AuditLogEntry
     {
         UserId          = dto.UserId,
         CreatedDateTime = dto.CreatedDateTime,
         Action          = dto.Action,
         ObjectId        = dto.ObjectId,
         Log             = dto.Log,
     });
 }
Ejemplo n.º 2
0
 public void AddOrUpdate(AuditLogEntryDTO dto)
 {
     AddOrUpdate(new AuditLogEntry
     {
         UserId          = dto.UserId,
         CreatedDateTime = dto.CreatedDateTime,
         Action          = dto.Action,
         ObjectId        = dto.ObjectId,
         Log             = dto.Log,
     });
 }