Implemented functionality to upload song
This commit is contained in:
1 parent
a1c3ccb66f
commit
b7723b2cba
7 files changed
+234
-10
No files matched your search
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user