Method | Description | |
---|---|---|
Create ( int gameId, int playerId, int holeId, int attempts, bool shotMade ) : void | ||
Delete ( int id ) : void | ||
DeleteToShot ( int gameId, int shotId ) : void | ||
GetShot ( int id ) : Shot | ||
GetShots ( int gameId ) : IEnumerable |
||
RecalculateShots ( int gameId ) : void | ||
ShotService ( IShotRepository shotRepository, IShotTypeRepository shotTypeRepository, IGameRepository gameRepository, IPlayerRepository playerRepository, IHoleRepository holeRepository ) : System | ||
Update ( int id, int points, ShotType shotType ) : void |
public Create ( int gameId, int playerId, int holeId, int attempts, bool shotMade ) : void | ||
gameId | int | |
playerId | int | |
holeId | int | |
attempts | int | |
shotMade | bool | |
return | void |
public DeleteToShot ( int gameId, int shotId ) : void | ||
gameId | int | |
shotId | int | |
return | void |
public RecalculateShots ( int gameId ) : void | ||
gameId | int | |
return | void |
public ShotService ( IShotRepository shotRepository, IShotTypeRepository shotTypeRepository, IGameRepository gameRepository, IPlayerRepository playerRepository, IHoleRepository holeRepository ) : System | ||
shotRepository | IShotRepository | |
shotTypeRepository | IShotTypeRepository | |
gameRepository | IGameRepository | |
playerRepository | IPlayerRepository | |
holeRepository | IHoleRepository | |
return | System |
public Update ( int id, int points, ShotType shotType ) : void | ||
id | int | |
points | int | |
shotType | ShotType | |
return | void |