If the calorimeter gained 824 Joules of energy, then the piece of metal lost 824 Joules of energy.
The change in energy is equal to the mass times the heat capacity of the object times the change in temperature (Kelvin or Celsius). So, the heat capacity is the change in energy divided by the mass and also divided by the change in temperature.
824/(50g*70.9)=0.232