mmmm that's a gdscript response to a c# question.
If you have .DamageAmount already added to the Enemy class, then the editor is saying its reading body as a reference to the Node2D instead of a reference to the script or class Enemy. In c#, Make sure damageAmount is marked as public and initialized to some amount, like
public int DamageAmount = 0;
e here is the body recast to the class enemy and should be the variable you want. e and body are the same object, but e is a reference to the enemy class and has the damage amount variable, and body is a reference to the node2D class on the same object, and therefore does not have that variable. e.DamageAmount is the variable you want.
Does the line HealthManager.DecreaseHealth(e.DamageAmount) work? Can you print e.DamageAmount? That line should work, and calling it again would just be calling the same function twice with the same variable. If e.damageAmount is not working, try putting Enemy e = (Enemy) body inside the group check. Or you could simplify it to
if(body.IsInGroup("Enemy")) {
GD.Print((Enemy)body.DamageAmount);
HealthManager.Decreasehealth((Enemy)body.DamageAmount);
}