private void Dispose(bool disposing) { if (!_disposed) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } } _disposed = true; }
public UnitOfWork() { _context = new JsaEntities(); }