C# Class BolfTracker.Web.Controllers.GameController

Inheritance: Controller
Show file Open project: mkchandler/bolf-tracker-mvc

Public Methods

Method Description
Delete ( int gameId ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
GameController ( IGameService gameService, IShotService shotService, IHoleService holeService, IPlayerService playerService, IRankingService rankingService ) : System
Index ( int year, int month ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( System.DateTime date ) : System.Web.Mvc.ActionResult
Finalize ( int gameId ) : System.Web.Mvc.ActionResult
RecalculateGameStatistics ( ) : System.Web.Mvc.ActionResult
UnFinalize ( int gameId ) : System.Web.Mvc.ActionResult

Method Details

Delete() public method

public Delete ( int gameId ) : System.Web.Mvc.ActionResult
gameId int
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

GameController() public method

public GameController ( IGameService gameService, IShotService shotService, IHoleService holeService, IPlayerService playerService, IRankingService rankingService ) : System
gameService IGameService
shotService IShotService
holeService IHoleService
playerService IPlayerService
rankingService IRankingService
return System

Index() public method

public Index ( int year, int month ) : System.Web.Mvc.ActionResult
year int
month int
return System.Web.Mvc.ActionResult