C# Class MusicCatalogue.DataMappers.SongsMapper

Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

Méthode Description
ToSongEntity ( SongModel songModel, IRepository albumsRepository, IRepository artistsRepository ) : Song
ToSongModel ( Song songEntity ) : SongModel

Method Details

ToSongEntity() public static méthode

public static ToSongEntity ( SongModel songModel, IRepository albumsRepository, IRepository artistsRepository ) : Song
songModel MusicCatalogue.DataTransferObjects.SongModel
albumsRepository IRepository
artistsRepository IRepository
Résultat MusicCatalogue.Models.Song

ToSongModel() public static méthode

public static ToSongModel ( Song songEntity ) : SongModel
songEntity MusicCatalogue.Models.Song
Résultat MusicCatalogue.DataTransferObjects.SongModel