public async Task<IActionResult> UpdateAgeCategory([FromBody] AgeCategory ageCategory) { try { var userId = User.Identity.Name; ageCategory = await _organizerService.UpdateAgeCategoryAsync(ageCategory, userId); return Ok(ageCategory); } catch(Exception ex) { return BadRequest(ex.Message); } }