The Magnetoresistance in Iron-based Superconductors