C# Class PitchingTube.Controllers.TubeController

Inheritance: BaseController
显示文件 Open project: thesameqad/pitchingtube

Public Methods

Method Description
GetCurrentTimePitch ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
GetRatings ( int tubeId ) : System.Web.Mvc.JsonResult
GetTubeTimeout ( int tubeId ) : System.Web.Mvc.JsonResult
IsPatrtnerOnline ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
IsSecondReady ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
ShareContacts ( int tubeId ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
FindTube ( string description ) : System.Web.Mvc.ActionResult
Index ( int tubeId, string description ) : System.Web.Mvc.ActionResult
Nomination ( IEnumerable ids, IEnumerable ratings, int tubeId ) : System.Web.Mvc.ActionResult
Nomination ( int tubeId ) : System.Web.Mvc.ActionResult
PublishToFacebookWall ( int tubeId ) : void
Results ( ) : System.Web.Mvc.ActionResult
Results ( int tubeId ) : System.Web.Mvc.ActionResult
SetStartPitchTime ( System.Guid partnerId ) : void
SetTubeMode ( int mode ) : void
StartPitch ( ) : System.Web.Mvc.ActionResult
TubeExcluded ( int tubeId ) : System.Web.Mvc.ActionResult
TubePeopleList ( int tubeId ) : System.Web.Mvc.ActionResult

Method Details

GetCurrentTimePitch() public method

public GetCurrentTimePitch ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
partnerId System.Guid
return System.Web.Mvc.JsonResult

GetRatings() public method

public GetRatings ( int tubeId ) : System.Web.Mvc.JsonResult
tubeId int
return System.Web.Mvc.JsonResult

GetTubeTimeout() public method

public GetTubeTimeout ( int tubeId ) : System.Web.Mvc.JsonResult
tubeId int
return System.Web.Mvc.JsonResult

IsPatrtnerOnline() public method

public IsPatrtnerOnline ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
partnerId System.Guid
return System.Web.Mvc.JsonResult

IsSecondReady() public method

public IsSecondReady ( System.Guid partnerId ) : System.Web.Mvc.JsonResult
partnerId System.Guid
return System.Web.Mvc.JsonResult

ShareContacts() public method

public ShareContacts ( int tubeId ) : System.Web.Mvc.JsonResult
tubeId int
return System.Web.Mvc.JsonResult