This commit is contained in:
Kun Deng
2022-09-05 17:02:25 -04:00
parent 38c056cc99
commit 73bfff3940
5 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ namespace Icarus.Controllers.V1
[HttpGet]
public IActionResult RetrieveSongs()
public IActionResult GetSongs()
{
List<Song> songs = new List<Song>();
Console.WriteLine("Attemtping to retrieve songs");
@@ -65,7 +65,7 @@ namespace Icarus.Controllers.V1
}
[HttpGet("{id}")]
public IActionResult RetrieveSong(int id)
public IActionResult GetSong(int id)
{
var context = new SongContext(_connectionString);