C# Class MusicCatalogue.DataMappers.ArtistsMapper

Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

Méthode Description
ToArtistEntity ( ArtistModel artistModel, IRepository albumsRepository, IRepository songsRepository ) : Artist
ToArtistModel ( Artist artistEntity ) : ArtistModel

Method Details

ToArtistEntity() public static méthode

public static ToArtistEntity ( ArtistModel artistModel, IRepository albumsRepository, IRepository songsRepository ) : Artist
artistModel MusicCatalogue.DataTransferObjects.ArtistModel
albumsRepository IRepository
songsRepository IRepository
Résultat MusicCatalogue.Models.Artist

ToArtistModel() public static méthode

public static ToArtistModel ( Artist artistEntity ) : ArtistModel
artistEntity MusicCatalogue.Models.Artist
Résultat MusicCatalogue.DataTransferObjects.ArtistModel