public Release GetRelease(AndrewD.RecordLabel.ReleaseSlim model)
 {
     return(new Release
     {
         Id = model.Id,
         ArtistId = model.ArtistId,
         CatalogueNumber = model.CatalogueNumber,
         Date = model.Date,
         MediaId = model.MediaId,
         Metadata = GetList(model.MetadataIds, GetMetadata),
         PrintStatus = model.PrintStatus,
         References = GetList(model.References, GetReference),
         Text = model.Text,
         Length = model.Length,
         Title = model.Title,
         Tracks = GetList(model.Tracks, GetTrack)
     });
 }
Esempio n. 2
0
        public void Save(AndrewD.RecordLabel.ReleaseSlim model)
        {
            var dbModel = modelTransformer.GetRelease(model);

            SaveModel(dbModel);
        }