feat: implement song submission support, refs #5
This commit is contained in:
16
song_of_the_day/Pages/Shared/SongPartialModel.cs
Normal file
16
song_of_the_day/Pages/Shared/SongPartialModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
public class SongPartialModel
|
||||
{
|
||||
public Song InnerSong { get; set; }
|
||||
|
||||
public string? Artist => InnerSong.Artist;
|
||||
|
||||
public string? Name => InnerSong.Name;
|
||||
|
||||
public string? SpotifyId => InnerSong.SpotifyId;
|
||||
|
||||
public string? Url => InnerSong.Url;
|
||||
|
||||
public SongProvider? Provider => InnerSong.Provider;
|
||||
|
||||
public bool IsPageReadonly { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user