C# Class JustPressPlay.Controllers.PlayersController

Inheritance: Controller
Datei anzeigen Open project: RIT-MAGIC/JustPressPlay

Public Methods

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

The list of all plages

Profile ( int id ) : System.Web.Mvc.ActionResult

An individual player's profile. If this is your own profile, it will be editable. The routing table hides this action name

Private Methods

Method Description
AcceptFriendRequest ( int id ) : System.Web.Mvc.ActionResult
AddFriend ( int id ) : System.Web.Mvc.ActionResult
Confirm ( String token ) : System.Web.Mvc.ActionResult
DeclineFriendRequest ( int id ) : System.Web.Mvc.ActionResult
ForgotPassword ( ) : System.Web.Mvc.ActionResult
ForgotPassword ( ForgotPasswordViewModel model ) : System.Web.Mvc.ActionResult
GetMembershipCreationErrorMessage ( MembershipCreateStatus statusCode ) : String

Returns an error message corresponding to a specific membership creation status error code. This is based on the method "ErrorCodeToString" from the default AccountController.cs in new ASP MVC 4 projects

IgnoreFriendRequest ( int id ) : System.Web.Mvc.ActionResult
IgnoreNotification ( int id ) : System.Web.Mvc.ActionResult
Login ( ) : System.Web.Mvc.ActionResult
Login ( LoginViewModel model, string returnUrl ) : System.Web.Mvc.ActionResult
Logout ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
Register ( RegisterViewModel model ) : System.Web.Mvc.ActionResult
RemoveFriend ( int id ) : System.Web.Mvc.ActionResult
ResetPassword ( ResetPasswordViewModel model ) : System.Web.Mvc.ActionResult
ResetPassword ( String token ) : System.Web.Mvc.ActionResult
UserEditProfile ( System.Web.HttpPostedFileBase image, String displayName, String fullBio, String sixWordBio ) : System.Web.Mvc.ActionResult

Method Details

Index() public method

The list of all plages
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Profile() public method

An individual player's profile. If this is your own profile, it will be editable. The routing table hides this action name
public Profile ( int id ) : System.Web.Mvc.ActionResult
id int The player's id
return System.Web.Mvc.ActionResult