Certified GKH Gardening Expert
Either way will not hurt. Some plants are sensitive to removing flowering hormones, but this will not be the case here.
What I do, is cut the bloom first. Then, once the stem has died and the plant has pulled back the nutrients and hormones, I will cut the rest of the stem.
This collection of articles will help you to grow Alliums: