Example #1
0
 public virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             identityUnitOfWork.Dispose();
         }
         this.disposed = true;
     }
 }
Example #2
0
 public virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             domainUnitOfWork.Dispose();
             employeeUnitOfWork.Dispose();
             identityUnitOfWork.Dispose();
         }
         this.disposed = true;
     }
 }
Example #3
0
 public void Dispose()
 {
     _unitOfWork.Dispose();
 }