Eight routes under /albums covering the listing, the detail, the tracklist and the owner-only writes, wired to the same validation filter and ErrorOr mapping the playlists use.
7 lines
150 B
C#
7 lines
150 B
C#
namespace Musify.Api.DataTransferObjects.Albums;
|
|
|
|
public record CreateAlbumRequest(
|
|
string Title,
|
|
string? Description,
|
|
int? ReleaseYear);
|