tsk-103: Formatting changes
This commit is contained in:
@@ -40,7 +40,7 @@ public class SongDataController : BaseController
|
|||||||
public IActionResult Download(int id, [FromQuery] bool? randomizeFilename)
|
public IActionResult Download(int id, [FromQuery] bool? randomizeFilename)
|
||||||
{
|
{
|
||||||
var songContext = new SongContext(_connectionString!);
|
var songContext = new SongContext(_connectionString!);
|
||||||
var songMetaData = songContext.RetrieveRecord(new Song { Id = id});
|
var songMetaData = songContext.RetrieveRecord(new Song { Id = id });
|
||||||
|
|
||||||
var song = _songMgr!.RetrieveSong(songMetaData).Result;
|
var song = _songMgr!.RetrieveSong(songMetaData).Result;
|
||||||
string filename;
|
string filename;
|
||||||
@@ -178,7 +178,7 @@ public class SongDataController : BaseController
|
|||||||
{
|
{
|
||||||
var songContext = new SongContext(_connectionString!);
|
var songContext = new SongContext(_connectionString!);
|
||||||
|
|
||||||
var songMetaData = new Song{ Id = id };
|
var songMetaData = new Song { Id = id };
|
||||||
Console.WriteLine($"Id {songMetaData.Id}");
|
Console.WriteLine($"Id {songMetaData.Id}");
|
||||||
|
|
||||||
songMetaData = songContext.RetrieveRecord(songMetaData);
|
songMetaData = songContext.RetrieveRecord(songMetaData);
|
||||||
|
|||||||
Reference in New Issue
Block a user