public AlbumForUserContract(AlbumForUser albumForUser, ContentLanguagePreference languagePreference) { ParamIs.NotNull(() => albumForUser); Album = new AlbumWithAdditionalNamesContract(albumForUser.Album, languagePreference); Id = albumForUser.Id; MediaType = albumForUser.MediaType; PurchaseStatus = albumForUser.PurchaseStatus; Rating = albumForUser.Rating; User = new UserContract(albumForUser.User); }
public AlbumForArtistEditContract(AlbumWithAdditionalNamesContract albumContract) { AlbumId = albumContract.Id; AlbumName = albumContract.Name; AlbumAdditionalNames = albumContract.AdditionalNames; }