public T GetById(int id) => _context.Set <T>().Find(id);
public Repository(PetDbContext context) { _context = context; _dbSet = _context.Set <T>(); }