Yes, both work. Technically, "be repaired" is the passive voice, while "needs repairing" is the middle voice. In your example, either would work. If you also wants to mention the one who will repair, the passive would be more natural, "be repaired (by a mechanic)."