public BaseRepository(PCInfoContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); DbSet = _context.Set <T>(); }
public PCInfoRepository(PCInfoContext context) : base(context) { }