Example #1
0
 public static Song FromModelToData(SongDataModel model)
 {
     return(new Song()
     {
         Genre = model.Genre,
         Title = model.Title,
         Year = model.Year
     });
 }
 public static Song FromModelToData(SongDataModel model)
 {
     return new Song()
     {
         Genre = model.Genre,
         Title = model.Title,
         Year = model.Year
     };
 }