tsk-#76: Saving AccessLevel when uploading song

This commit is contained in:
phoenix
2025-03-07 22:41:31 -05:00
parent 8054fd4d1e
commit 4a4c021c4f
2 changed files with 36 additions and 8 deletions
+18
View File
@@ -12,4 +12,22 @@ public class AccessLevel
[Newtonsoft.Json.JsonProperty("song_id")]
public int SongId { get; set; }
#endregion
#region Methods
public static AccessLevel DefaultLevel()
{
return new AccessLevel
{
Level = "Public"
};
}
public static AccessLevel PrivateLevel()
{
return new AccessLevel
{
Level = "Private"
};
}
#endregion
}