Method | Description | |
---|---|---|
CreatePlayer ( |
||
PlayerSaver ( IDataContext dataContext, INemeStatsEventTracker eventTracker, INemesisRecalculator nemesisRecalculator ) : BusinessLogic.DataAccess | ||
UpdatePlayer ( |
Method | Description | |
---|---|---|
RecalculateNemeses ( Player player, ApplicationUser currentUser ) : void | ||
Save ( Player player, ApplicationUser applicationUser ) : Player | ||
ThrowPlayerAlreadyExistsExceptionIfPlayerExistsWithThisName ( string playerName, int gamingGroupId ) : void | ||
ValidatePlayerIsNotNull ( Player player ) : void | ||
ValidatePlayerNameIsNotNullOrWhiteSpace ( string playerName ) : void | ||
ValidatePlayerWithThisNameDoesntAlreadyExist ( Player player, ApplicationUser currentUser ) : void |
public CreatePlayer ( |
||
createPlayerRequest | ||
applicationUser | ApplicationUser | |
linkCurrentUserToThisPlayer | bool | |
return | Player |
public PlayerSaver ( IDataContext dataContext, INemeStatsEventTracker eventTracker, INemesisRecalculator nemesisRecalculator ) : BusinessLogic.DataAccess | ||
dataContext | IDataContext | |
eventTracker | INemeStatsEventTracker | |
nemesisRecalculator | INemesisRecalculator | |
return | BusinessLogic.DataAccess |
public UpdatePlayer ( |
||
updatePlayerRequest | ||
applicationUser | ApplicationUser | |
return | void |