public void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public UnitOfWork(Data.MarketContext context) { _context = context; }
public void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public UnitOfWork(Data.MarketContext context) { _context = context; }