Epoxy effectively bonds the concrete back together, whereas polyurethane foam acts more like a gasket to prevent water from entering the foundation. Epoxy is a structural repair, whereas polyurethane foam is a non-structural repair. Epoxy can be used in all situations.