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