C# Class BusinessLogic.Logic.GamingGroups.GamingGroupSaver

Inheritance: IGamingGroupSaver
Afficher le fichier Open project: NemeStats/NemeStats

Méthodes publiques

Méthode Description
CreateNewGamingGroup ( string gamingGroupName, TransactionSource registrationSource, ApplicationUser currentUser ) : NewlyCreatedGamingGroupResult
GamingGroupSaver ( IDataContext dataContext, INemeStatsEventTracker eventTracker, IPlayerSaver playerSaver ) : BusinessLogic.DataAccess
UpdatePublicGamingGroupDetails ( GamingGroupEditRequest request, ApplicationUser currentUser ) : GamingGroup

Private Methods

Méthode Description
AddUserGamingGroupRecord ( ApplicationUser currentUser, GamingGroup newGamingGroup ) : void
AddUserToGamingGroupAsPlayer ( ApplicationUser currentUser ) : Player
AssociateUserWithGamingGroup ( ApplicationUser currentUser, GamingGroup newGamingGroup ) : Player
SetGamingGroupOnCurrentUser ( ApplicationUser currentUser, GamingGroup newGamingGroup ) : void
ValidateGamingGroupName ( string gamingGroupName ) : void

Method Details

CreateNewGamingGroup() public méthode

public CreateNewGamingGroup ( string gamingGroupName, TransactionSource registrationSource, ApplicationUser currentUser ) : NewlyCreatedGamingGroupResult
gamingGroupName string
registrationSource TransactionSource
currentUser ApplicationUser
Résultat BusinessLogic.Models.GamingGroups.NewlyCreatedGamingGroupResult

GamingGroupSaver() public méthode

public GamingGroupSaver ( IDataContext dataContext, INemeStatsEventTracker eventTracker, IPlayerSaver playerSaver ) : BusinessLogic.DataAccess
dataContext IDataContext
eventTracker INemeStatsEventTracker
playerSaver IPlayerSaver
Résultat BusinessLogic.DataAccess

UpdatePublicGamingGroupDetails() public méthode

public UpdatePublicGamingGroupDetails ( GamingGroupEditRequest request, ApplicationUser currentUser ) : GamingGroup
request BusinessLogic.Models.GamingGroups.GamingGroupEditRequest
currentUser ApplicationUser
Résultat GamingGroup