C# Class Blog.Services.Implementation.AlbumService

Inheritance: BaseService, IAlbumService
ファイルを表示 Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Album album ) : Album
AlbumService ( IAlbumLogic albumLogic ) : System.Collections.Generic
Delete ( int albumId ) : bool
Get ( int id ) : Album
GetByUser ( int userId ) : List
GetUserDefaultGroup ( int userId ) : Album
Update ( Album album ) : Album

Method Details

Add() public method

public Add ( Album album ) : Album
album Blog.Common.Contracts.Album
return Blog.Common.Contracts.Album

AlbumService() public method

public AlbumService ( IAlbumLogic albumLogic ) : System.Collections.Generic
albumLogic IAlbumLogic
return System.Collections.Generic

Delete() public method

public Delete ( int albumId ) : bool
albumId int
return bool

Get() public method

public Get ( int id ) : Album
id int
return Blog.Common.Contracts.Album

GetByUser() public method

public GetByUser ( int userId ) : List
userId int
return List

GetUserDefaultGroup() public method

public GetUserDefaultGroup ( int userId ) : Album
userId int
return Blog.Common.Contracts.Album

Update() public method

public Update ( Album album ) : Album
album Blog.Common.Contracts.Album
return Blog.Common.Contracts.Album