C#C
C#4y ago
dotnut

✅ Design decision over multiple inserts in a single command

Hi, any design suggestions on how to handle an update command from a mvc form which update needs to update 4 different tables?

One way is to have a single handler that does all and thus controller invokes a single update service

Another is to have multiple handlers to support each table update.

In order to achieve SRP the latter seems alright, but I am uncertain as the update command I see as an atomic operation
Was this page helpful?