New answers tagged unit-of-work
The major problem I see is that your EnvelopeService class is not threadsafe. Imagine two threads using a single instance of EnvelopeService. Thread 1 calls GetEnvelope which creates a UnitOfWork. At the same time Thread 2 calls SaveEnvelope which creates a second UnitOfWork. Whether those two operations are carried out using the appropriate UnitOfWork is ...
Top 50 recent answers are included