C# Class Farkle.Web.Controllers.ApiController

Entry point for a web based API for creating an UI with the tools of your choice. iOS, Android, etc.
With the exception of the Index, the Controller methods should return a JsonResult
Inheritance: Controller
Show file Open project: BangorDevelopers/Farkle

Public Methods

Method Description
Index ( ) : System.Web.Mvc.ActionResult

Display the API Documenation

NewGame ( GameSetup gameSetup ) : System.Web.Mvc.JsonResult

Method Details

Index() public method

Display the API Documenation
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

NewGame() public method

public NewGame ( GameSetup gameSetup ) : System.Web.Mvc.JsonResult
gameSetup Farkle.Core.GameSetup
return System.Web.Mvc.JsonResult