C# Class ITimeU.Controllers.AthleteController

Inheritance: Controller
Afficher le fichier Open project: heinek/ITimeU Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string txtFirstName, string txtLastName, string txtEmail, string txtPostalAddress, string txtPostalCode, string txtCity, string txtPhoneNumber, string genderId, string birthdateId, string txtStartNumber, string clubId, string classId ) : System.Web.Mvc.ActionResult

Creates the specified TXT first name.

Delete ( int id, int clubid ) : System.Web.Mvc.ActionResult
DeleteAthlete ( string ddAthlete ) : System.Web.Mvc.ActionResult
Edit ( ) : System.Web.Mvc.ActionResult
EditAthleteDetails ( string txtathleteId, string txtfirstName, string txtlastName, string txtemail, string txtpostalAddress, string txtpostalCode, string txtcity, string txtphoneNumber, string txtgender, string txtbirthDate, string txtstartNumber, string txtathleteClass ) : System.Web.Mvc.ActionResult
EditFormFail ( ) : System.Web.Mvc.ActionResult
GetAllAthletes ( int clubId ) : System.Web.Mvc.ActionResult
GetAthleteDetails ( int athleteId ) : System.Web.Mvc.ActionResult
IsValidInput ( string firstname, string lastname, string email, string startnumber, string clubId = "1" ) : bool
Print ( int raceId ) : System.Web.Mvc.ActionResult

Prints the athletes.

PrintForClub ( int clubId ) : System.Web.Mvc.ActionResult

Prints the athletes.

ResetDeleteFormField ( ) : System.Web.Mvc.ActionResult
ResetEditFormField ( ) : System.Web.Mvc.ActionResult
ResetFormField ( ) : System.Web.Mvc.ActionResult
Setup ( ) : System.Web.Mvc.ActionResult
getGenderNameById ( int id ) : Gender
isValidEmail ( string inputEmail ) : bool

Private Methods

Méthode Description
Athletes ( int clubId ) : System.Web.Mvc.ActionResult
AthletesForRace ( int raceId ) : System.Web.Mvc.ActionResult
Index ( int raceId ) : System.Web.Mvc.ActionResult
getBirthDate ( ) : List
getBirthDateById ( int birthid ) : BirthDate
getGender ( ) : List
setEditViewData ( ) : void
setViewData ( ) : void

Method Details

Create() public méthode

Creates the specified TXT first name.
public Create ( string txtFirstName, string txtLastName, string txtEmail, string txtPostalAddress, string txtPostalCode, string txtCity, string txtPhoneNumber, string genderId, string birthdateId, string txtStartNumber, string clubId, string classId ) : System.Web.Mvc.ActionResult
txtFirstName string First name.
txtLastName string Last name.
txtEmail string The email.
txtPostalAddress string Postal address.
txtPostalCode string The postal code.
txtCity string The city.
txtPhoneNumber string The phone number.
genderId string The gender id.
birthdateId string The birthdate id.
txtStartNumber string The start number.
clubId string The club id.
classId string The class id.
Résultat System.Web.Mvc.ActionResult

Delete() public méthode

public Delete ( int id, int clubid ) : System.Web.Mvc.ActionResult
id int
clubid int
Résultat System.Web.Mvc.ActionResult

DeleteAthlete() public méthode

public DeleteAthlete ( string ddAthlete ) : System.Web.Mvc.ActionResult
ddAthlete string
Résultat System.Web.Mvc.ActionResult

Edit() public méthode

public Edit ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

EditAthleteDetails() public méthode

public EditAthleteDetails ( string txtathleteId, string txtfirstName, string txtlastName, string txtemail, string txtpostalAddress, string txtpostalCode, string txtcity, string txtphoneNumber, string txtgender, string txtbirthDate, string txtstartNumber, string txtathleteClass ) : System.Web.Mvc.ActionResult
txtathleteId string
txtfirstName string
txtlastName string
txtemail string
txtpostalAddress string
txtpostalCode string
txtcity string
txtphoneNumber string
txtgender string
txtbirthDate string
txtstartNumber string
txtathleteClass string
Résultat System.Web.Mvc.ActionResult

EditFormFail() public méthode

public EditFormFail ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

GetAllAthletes() public méthode

public GetAllAthletes ( int clubId ) : System.Web.Mvc.ActionResult
clubId int
Résultat System.Web.Mvc.ActionResult

GetAthleteDetails() public méthode

public GetAthleteDetails ( int athleteId ) : System.Web.Mvc.ActionResult
athleteId int
Résultat System.Web.Mvc.ActionResult

IsValidInput() public méthode

public IsValidInput ( string firstname, string lastname, string email, string startnumber, string clubId = "1" ) : bool
firstname string
lastname string
email string
startnumber string
clubId string
Résultat bool

Print() public méthode

Prints the athletes.
public Print ( int raceId ) : System.Web.Mvc.ActionResult
raceId int
Résultat System.Web.Mvc.ActionResult

PrintForClub() public méthode

Prints the athletes.
public PrintForClub ( int clubId ) : System.Web.Mvc.ActionResult
clubId int
Résultat System.Web.Mvc.ActionResult

ResetDeleteFormField() public méthode

public ResetDeleteFormField ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

ResetEditFormField() public méthode

public ResetEditFormField ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

ResetFormField() public méthode

public ResetFormField ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Setup() public méthode

public Setup ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

getGenderNameById() public méthode

public getGenderNameById ( int id ) : Gender
id int
Résultat ITimeU.Models.Gender

isValidEmail() public static méthode

public static isValidEmail ( string inputEmail ) : bool
inputEmail string
Résultat bool