C# 클래스 MusicCatalogue.Client.SongsDataClient

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

공개 메소드들

메소드 설명
AddSong ( string title, int year, string genre, ICollection artists, ICollection albums ) : void
DeleteSong ( int id ) : bool
GetSong ( int id ) : SongModel
GetSongs ( ) : IEnumerable
SongsDataClient ( HttpClient client ) : MusicCatalogue.DataTransferObjects
UpdateSong ( int id, string title, int year, string genre, ICollection artists, ICollection albums ) : void

메소드 상세

AddSong() 공개 메소드

public AddSong ( string title, int year, string genre, ICollection artists, ICollection albums ) : void
title string
year int
genre string
artists ICollection
albums ICollection
리턴 void

DeleteSong() 공개 메소드

public DeleteSong ( int id ) : bool
id int
리턴 bool

GetSong() 공개 메소드

public GetSong ( int id ) : SongModel
id int
리턴 MusicCatalogue.DataTransferObjects.SongModel

GetSongs() 공개 메소드

public GetSongs ( ) : IEnumerable
리턴 IEnumerable

SongsDataClient() 공개 메소드

public SongsDataClient ( HttpClient client ) : MusicCatalogue.DataTransferObjects
client System.Net.Http.HttpClient
리턴 MusicCatalogue.DataTransferObjects

UpdateSong() 공개 메소드

public UpdateSong ( int id, string title, int year, string genre, ICollection artists, ICollection albums ) : void
id int
title string
year int
genre string
artists ICollection
albums ICollection
리턴 void