C# Class BC.Web.Controllers.GamesController

Inheritance: BaseApiController
Show file Open project: nzhul/TelerikAcademy

Public Methods

Method Description
GamesController ( ) : BC.Data
GamesController ( IBCData data ) : BC.Data

Private Methods

Method Description
Create ( GameModel model ) : IHttpActionResult
Get ( ) : IHttpActionResult
Get ( int page ) : IHttpActionResult
GetAllSorted ( ) : IEnumerable
GetById ( int id ) : IHttpActionResult
Guess ( int id, GuessModel model ) : IHttpActionResult
Join ( int id, GameModel model ) : IHttpActionResult
SendNotification ( int gameId, string userId, string type, string message ) : void

Method Details

GamesController() public method

public GamesController ( ) : BC.Data
return BC.Data

GamesController() public method

public GamesController ( IBCData data ) : BC.Data
data IBCData
return BC.Data