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, }); }
public void AddOrUpdate(AuditLogEntryDTO dto) { AddOrUpdate(new AuditLogEntry { UserId = dto.UserId, CreatedDateTime = dto.CreatedDateTime, Action = dto.Action, ObjectId = dto.ObjectId, Log = dto.Log, }); }