C# 클래스 MusicCatalogue.Client.AlbumsDataClient

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

공개 메소드들

메소드 설명
AddAlbum ( string title, int year, string producer, ICollection songs, ICollection artists ) : void
AlbumsDataClient ( HttpClient client ) : System
DeleteAlbum ( int id ) : bool
GetAlbum ( int id ) : AlbumModel
GetAlbums ( ) : IEnumerable
UpdateAlbum ( int id, string title, int year, string producer, ICollection songs, ICollection artists ) : void

메소드 상세

AddAlbum() 공개 메소드

public AddAlbum ( string title, int year, string producer, ICollection songs, ICollection artists ) : void
title string
year int
producer string
songs ICollection
artists ICollection
리턴 void

AlbumsDataClient() 공개 메소드

public AlbumsDataClient ( HttpClient client ) : System
client System.Net.Http.HttpClient
리턴 System

DeleteAlbum() 공개 메소드

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

GetAlbum() 공개 메소드

public GetAlbum ( int id ) : AlbumModel
id int
리턴 MusicCatalogue.DataTransferObjects.AlbumModel

GetAlbums() 공개 메소드

public GetAlbums ( ) : IEnumerable
리턴 IEnumerable

UpdateAlbum() 공개 메소드

public UpdateAlbum ( int id, string title, int year, string producer, ICollection songs, ICollection artists ) : void
id int
title string
year int
producer string
songs ICollection
artists ICollection
리턴 void