public void Dispose() { if (_context != null) { _context.Dispose(); _context = null; } }
public AuthorityRepository(TeleMedicineContext context) : base(context) { }
public Repository(TeleMedicineContext context) { _context = context; dbSet = _context.Set <T>(); }
public UnitOfWork(TeleMedicineContext context) { _context = context; }