Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
[Route("AddTeam")] //works public async Task <ActionResult> AddTeam([FromBody] Team team) //works { await league.AddTeam(team); return(CreatedAtAction(nameof(GetTeams), new { id = team.Id }, team)); }