C# Class Blog.Services.Helpers.Rest.AlbumRestResource

Inheritance: IAlbumRestResource
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
Add ( Album album, string authenticationToken ) : Album
Delete ( int albumId, string authenticationToken ) : bool
Get ( int id ) : Album
GetByUser ( int userId ) : List
GetUserDefaultGroup ( int userId, string authenticationToken ) : Album
Update ( Album album, string authenticationToken ) : Album

Method Details

Add() public méthode

public Add ( Album album, string authenticationToken ) : Album
album Blog.Common.Contracts.Album
authenticationToken string
Résultat Blog.Common.Contracts.Album

Delete() public méthode

public Delete ( int albumId, string authenticationToken ) : bool
albumId int
authenticationToken string
Résultat bool

Get() public méthode

public Get ( int id ) : Album
id int
Résultat Blog.Common.Contracts.Album

GetByUser() public méthode

public GetByUser ( int userId ) : List
userId int
Résultat List

GetUserDefaultGroup() public méthode

public GetUserDefaultGroup ( int userId, string authenticationToken ) : Album
userId int
authenticationToken string
Résultat Blog.Common.Contracts.Album

Update() public méthode

public Update ( Album album, string authenticationToken ) : Album
album Blog.Common.Contracts.Album
authenticationToken string
Résultat Blog.Common.Contracts.Album