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