jc as far as I can tell, the -ing words you used in your examples are only verbs agreeing with nouns. If you take out and shuffled some words around you'd be left with:
"they were putting all the project in great risk."
"he was allowing the company to achieve huge profits".
A gerund is when an -ing word is used as a noun: e.g. some good writing, terrible driving, awful singing, etc.
Hope this helps.
Student or Learner