Garnishing wages

Can employer pay up front and have employee pay it back?
By Tim Mitchell
|Canadian Employment Law Today

Question:

An employee has a debt of $4,000 and his wages are going to be garnished to pay the creditor. Can the employer pay the sum upfront and then garnish wages until the debt is repaid to the employer? Can garnishment be used as a factor in dismissal?