public GenericRepository(PerreraContext context) { this._context = context; table = _context.Set <T>(); }
public GenericRepository(PerreraContext context) { DbContext = context; Table = DbContext.Set <T>(); }
public GenericRepository() { this._context = new PerreraContext(); table = _context.Set <T>(); }
public GenericRepository() { DbContext = new PerreraContext(); Table = DbContext.Set <T>(); }