Implemented functionality to upload song

This commit is contained in:
amazing-username
2019-03-18 21:58:26 -04:00
parent a1c3ccb66f
commit b7723b2cba
7 changed files with 234 additions and 10 deletions
-2
View File
@@ -20,7 +20,5 @@ namespace Icarus.Models
public string Genre { get; set; }
[JsonProperty("duration")]
public int Duration { get; set; }
[JsonProperty("song_data")]
public byte[] SongFile { get; set; }
}
}
+12
View File
@@ -0,0 +1,12 @@
using System;
using System.Text;
namespace Icarus.Models
{
public class SongData
{
public int Id { get; set; }
public byte[] Data { get; set; }
public int SongId { get; set; }
}
}