public async Task <IActionResult> GetMonsterAsync([FromHeader] string monsterName) { var monster = _monsterService.GetMonsterbyName(monsterName); if (monster is null) { return(NotFound()); } return(Ok((monster))); }
public async Task <IActionResult> GetMonsterAsync([FromHeader] string monsterName) { var monster = _monsterService.GetMonsterbyName(monsterName); if (monster is null) { return(NotFound()); } return(Ok((monster))); }