C# Class Hangman.Services.PlayerServiceAsync

Inheritance: IPlayerServiceAsync
Show file Open project: IgooorGP/hangman

Public Methods

Method Description
Create ( NewPlayerData newPlayerData ) : Task
GetAll ( ) : Task>
GetById ( Guid id ) : Task
GetByPlayerName ( string playerName ) : Task
PlayerServiceAsync ( IHangmanRepositoryAsync repository, ILogger logger ) : System

Method Details

Create() public method

public Create ( NewPlayerData newPlayerData ) : Task
newPlayerData NewPlayerData
return Task

GetAll() public method

public GetAll ( ) : Task>
return Task>

GetById() public method

public GetById ( Guid id ) : Task
id Guid
return Task

GetByPlayerName() public method

public GetByPlayerName ( string playerName ) : Task
playerName string
return Task

PlayerServiceAsync() public method

public PlayerServiceAsync ( IHangmanRepositoryAsync repository, ILogger logger ) : System
repository IHangmanRepositoryAsync
logger ILogger
return System