"Looking at your photo it appears to be switching live and neutral (double pole switch), also you’d need new crimp connections attached and the burnt wire cut back to good wire...
But if your not fully competent then don’t do it yourself!
Like I say, if it were my dishwasher, that’s what I’d do but I have the skill and necessary tools and equipment to check and carry out the repair"
I am thinking about giving this a try. In order to do it safely, other than the switch, what are the exact components and tools I would need bearing in mind I am also trying to fix this for the minimum amount of money? It would be great to fix it and have some tools and experience at the end of it I could use again.