C# Class Repository.LagOppstillingService

Mostrar archivo Open project: bouvet/BBR2015 Class Usage Examples

Public Methods

Method Description
Get ( string lagId ) : Lag
LagOppstillingService ( DataContextFactory dataContextFactory, GameStateService gameStateService, TilgangsKontroll tilgangsKontroll ) : System
OpprettNySpiller ( string hemmeligKodeForLag, string kodeForSpiller, string navn ) : void
OpprettNyttLag ( System.Guid matchId, string hemmeligKode, string navn ) : void

Private Methods

Method Description
HentFraDatabasen ( ) : void

Method Details

Get() public method

public Get ( string lagId ) : Lag
lagId string
return Database.Entities.Lag

LagOppstillingService() public method

public LagOppstillingService ( DataContextFactory dataContextFactory, GameStateService gameStateService, TilgangsKontroll tilgangsKontroll ) : System
dataContextFactory Database.DataContextFactory
gameStateService GameStateService
tilgangsKontroll TilgangsKontroll
return System

OpprettNySpiller() public method

public OpprettNySpiller ( string hemmeligKodeForLag, string kodeForSpiller, string navn ) : void
hemmeligKodeForLag string
kodeForSpiller string
navn string
return void

OpprettNyttLag() public method

public OpprettNyttLag ( System.Guid matchId, string hemmeligKode, string navn ) : void
matchId System.Guid
hemmeligKode string
navn string
return void