Created Http endpoints for album and artists. Added Album and Artist models. #25, #26, #19, #20

This commit is contained in:
amazing-username
2019-05-04 01:08:52 -04:00
parent b0265ebc97
commit 226e95248c
4 changed files with 110 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models
{
public class Album
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("album_artist")]
public string AlbumArtist { get; set; }
[JsonProperty("song_count")]
public int SongCount { get; set; }
}
}