Help needed with design design
So i am creating an audit log dashboard
I will have a dropdown of tables, user select one and I fetch the audit logs for that table.
I have a quite a of tables to fetch
I am using the Clean Architecture.
I was thinking of having function called GetLogByTable(string tableName) but then I have like 7 entities and I would have to map to dto dynamically which confuses me.
Is there a better approach?
I will have a dropdown of tables, user select one and I fetch the audit logs for that table.
I have a quite a of tables to fetch
I am using the Clean Architecture.
I was thinking of having function called GetLogByTable(string tableName) but then I have like 7 entities and I would have to map to dto dynamically which confuses me.
Is there a better approach?