DEV Community

Discussion on: Transaction middleware in ASP.NET Core

Collapse
 
thiagobottacin profile image
Thiago Bottacin

In this case, what about Unit of Work pattern?

Collapse
 
moesmp profile image
Mohsen Esmailpour

Well, this is a kind UoW because all data will be saved if the request is processed successfully or nothing will be saved if an exception is thrown.