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