public GenericRepository(ABCRetailersContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { _context = new ABCRetailersContext(); table = _context.Set <T>(); }