If they have a job that is NOC A, B or 0 - then you will qualify to apply for a work permit once you are married. Whether that work permit is approved is always up to IRCC - it's never guaranteed. However chances are very high provided your relationship is genuine and not a MOC.