C# Class Cojac.Core.Repositories.GameRepository

Inheritance: BaseRepository, IGameRepository
ファイルを表示 Open project: JeauxCom/Cojac

Public Methods

Method Description
Delete ( int gameId ) : void
Get ( int gameId ) : NPGame
GetGamesForSeries ( string seriesId ) : ICollection
Save ( NPGame game ) : NPGame

Method Details

Delete() public method

public Delete ( int gameId ) : void
gameId int
return void

Get() public method

public Get ( int gameId ) : NPGame
gameId int
return Cojac.Core.Models.NPGame

GetGamesForSeries() public method

public GetGamesForSeries ( string seriesId ) : ICollection
seriesId string
return ICollection

Save() public method

public Save ( NPGame game ) : NPGame
game Cojac.Core.Models.NPGame
return Cojac.Core.Models.NPGame