C# 클래스 MusicCatalogue.Client.ArtistsDataClient

파일 보기 프로젝트 열기: vladislav-karamfilov/TelerikAcademy 1 사용 예제들

공개 메소드들

메소드 설명
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