src/NasaRover.API/Controllers/api/TerrainController.cs
/// <summary>
/// Get a terrain by its Name
/// </summary>
/// <param name="name">The terrain name</param>
Get a terrain by its Name
Get a terrain by its Name
[HttpGet("ByName/{name}")]
    public TerrainModel? Get(string name)
    {
        return _terrainService.Get(name);
    }
[ HttpGet ( " " ) ] public TerrainModel ? Get ( string name ) { return _terrainService . Get ( name ) ; }
Get a terrain by its Name
Get a terrain by its Name
name
string
The terrain name
The terrain name