Best fitness classes for weight loss

So I need to lose 28lbs to reach my target weight and I wondered whether I should be focusing more on Body Pump classes (more concentrated on weights) or on Spinning classes? I can't choose to do both in equal measure as they're always on at the same time at my gym!

Thanks
x