C# Класс MusicCatalogue.Client.ArtistsDataClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddArtist ( string name, string country, System.DateTime dateOfBirth, ICollection songs, ICollection albums ) : void
ArtistsDataClient ( HttpClient client ) : System
DeleteArtist ( int id ) : bool
GetArtist ( int id ) : ArtistModel
GetArtists ( ) : IEnumerable
UpdateArtist ( int id, string name, string country, System.DateTime dateOfBirth, ICollection songs, ICollection albums ) : void

Описание методов

AddArtist() публичный Метод

public AddArtist ( string name, string country, System.DateTime dateOfBirth, ICollection songs, ICollection albums ) : void
name string
country string
dateOfBirth System.DateTime
songs ICollection
albums ICollection
Результат void

ArtistsDataClient() публичный Метод

public ArtistsDataClient ( HttpClient client ) : System
client System.Net.Http.HttpClient
Результат System

DeleteArtist() публичный Метод

public DeleteArtist ( int id ) : bool
id int
Результат bool

GetArtist() публичный Метод

public GetArtist ( int id ) : ArtistModel
id int
Результат MusicCatalogue.DataTransferObjects.ArtistModel

GetArtists() публичный Метод

public GetArtists ( ) : IEnumerable
Результат IEnumerable

UpdateArtist() публичный Метод

public UpdateArtist ( int id, string name, string country, System.DateTime dateOfBirth, ICollection songs, ICollection albums ) : void
id int
name string
country string
dateOfBirth System.DateTime
songs ICollection
albums ICollection
Результат void