Song's id no longer changed when updating the song #48

This commit is contained in:
amazing-username
2019-05-25 22:19:14 +00:00
parent c8578ae8c8
commit 801a60e631
6 changed files with 57 additions and 72 deletions
+4 -4
View File
@@ -31,21 +31,21 @@ namespace Icarus.Models
[JsonIgnore]
public Album Album { get; set; }
[JsonIgnore]
public int AlbumId { get; set; }
public int? AlbumId { get; set; }
[JsonIgnore]
public Artist SongArtist { get; set; }
[JsonIgnore]
public int ArtistId { get; set; }
public int? ArtistId { get; set; }
[JsonIgnore]
public Genre SongGenre { get; set; }
[JsonIgnore]
public int GenreId { get; set; }
public int? GenreId { get; set; }
[JsonIgnore]
public Year SongYear { get; set; }
[JsonIgnore]
public int YearId { get; set; }
public int? YearId { get; set; }
}
}