Added functionality to retrieve cover art records in json format

This commit is contained in:
amazing-username
2019-07-29 01:07:16 +00:00
parent 3948e25fc3
commit 2c3152a9a5
3 changed files with 58 additions and 7 deletions
+6 -5
View File
@@ -11,11 +11,12 @@ namespace Icarus.Models
[JsonProperty("id")]
public int CoverArtId { get; set; }
[JsonProperty("title")]
public string SongTitle { get; set; }
public string SongTitle { get; set; }
[JsonIgnore]
public string ImagePath { get; set; }
[JsonIgnore]
public List<Song> Songs { get; set; }
public string ImagePath { get; set; }
[JsonProperty("song_id")]
public int SongId { get; set; }
[JsonIgnore]
public List<Song> Songs { get; set; }
}
}