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