C# Class MusicCatalogue.Services.Controllers.AlbumsController

Inheritance: ApiController
Exibir arquivo Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
AlbumsController ( IRepository albumsRepository, IRepository artistsRepository, IRepository songsRepository ) : System

Private Methods

Method Description
AddAlbum ( AlbumModel album ) : HttpResponseMessage
DeleteAlbum ( int id ) : HttpResponseMessage
GetAlbum ( int id ) : AlbumModel
GetAlbums ( ) : IEnumerable
UpdateAlbum ( int id, AlbumModel album ) : HttpResponseMessage

Method Details

AlbumsController() public method

public AlbumsController ( IRepository albumsRepository, IRepository artistsRepository, IRepository songsRepository ) : System
albumsRepository IRepository
artistsRepository IRepository
songsRepository IRepository
return System