src/NasaRover.API/Controllers/api/RoverController.cs
/// <summary>
/// Get a rover by its Id
/// </summary>
/// <param name="id">The rover Id</param>
Get a rover by its Id
Get a rover by its Id
[HttpGet("{id}")]
    public RoverModel? Get(Guid id)
    {
        var rover = _roverService.Get(id);
        if (rover == null)
        {
            return null;
        }
        return rover;
    }
[ HttpGet ( " " ) ] public RoverModel ? Get ( Guid id ) { var rover = _roverService . Get ( id ) ; if ( rover == null ) { return null ; } return rover ; }
Get a rover by its Id
Get a rover by its Id
id
Guid
The rover Id
The rover Id