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