Add shared pagination, projections and ownership helpers; simplify query and command handlers
This commit is contained in:
@@ -18,7 +18,7 @@ public record AlbumApplicationResponse(
|
||||
DateTime UpdatedAt,
|
||||
IReadOnlyList<Guid> CoverTrackIds)
|
||||
{
|
||||
public const int CoverTrackCount = 4;
|
||||
public const int CoverTrackCount = AlbumProjections.CoverTrackCount;
|
||||
|
||||
public static AlbumApplicationResponse FromEntity(
|
||||
Album album,
|
||||
|
||||
Reference in New Issue
Block a user