public async Task <IActionResult> UpdateTeam(int id, TeamViewModel team)
        {
            if (!ModelState.IsValid)
            {
                // todo: add GetErrors()...
            }

            await _teamService.UpdateAsync(team.ToModel());

            return(Ok(team));
        }