using Microsoft.AspNetCore.Mvc;
using Nexus.Api.Services;

namespace Nexus.Api.Controllers;

[ApiController]
[Route("api/v1/team")]
public class TeamController(ITeamService teamService) : ControllerBase
{
    [HttpGet]
    public async Task<IResult> GetTeam(CancellationToken ct)
        => Results.Ok(await teamService.GetTeamAsync(ct));
}
