public ActionResult PostTempHp(long id, TempHp tempHp) { Character character = _characterManager.Get(id); if (character == null) { return(NotFound()); } character = _characterManager.AddTemporaryHp(character, tempHp); return(CreatedAtAction(nameof(GetCharacter), new { id = character.Id }, character)); }