C# Class ArmedCards.Web.Controllers.Game.Board.LeaveController

Inheritance: Extensions.ArmedCardsController
Show file Open project: kwmcrell/ArmedCards

Public Methods

Method Description
Index ( Int32 id, Entities playerType, System.Boolean windowUnload = false ) : System.Web.Mvc.ActionResult

Action responsible for leaving a game

LeaveController ( ArmedCards.BusinessLogic.AppServices leaveGame ) : System

Method Details

Index() public method

Action responsible for leaving a game
public Index ( Int32 id, Entities playerType, System.Boolean windowUnload = false ) : System.Web.Mvc.ActionResult
id System.Int32 The game id to leave
playerType Entities The type of player leaving
windowUnload System.Boolean
return System.Web.Mvc.ActionResult

LeaveController() public method

public LeaveController ( ArmedCards.BusinessLogic.AppServices leaveGame ) : System
leaveGame ArmedCards.BusinessLogic.AppServices
return System