C# 클래스 ITimeU.Controllers.AthleteController

상속: Controller
파일 보기 프로젝트 열기: heinek/ITimeU 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 메소드

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.
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

public Delete ( int id, int clubid ) : System.Web.Mvc.ActionResult
id int
clubid int
리턴 System.Web.Mvc.ActionResult

DeleteAthlete() 공개 메소드

public DeleteAthlete ( string ddAthlete ) : System.Web.Mvc.ActionResult
ddAthlete string
리턴 System.Web.Mvc.ActionResult

Edit() 공개 메소드

public Edit ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

EditAthleteDetails() 공개 메소드

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
리턴 System.Web.Mvc.ActionResult

EditFormFail() 공개 메소드

public EditFormFail ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

GetAllAthletes() 공개 메소드

public GetAllAthletes ( int clubId ) : System.Web.Mvc.ActionResult
clubId int
리턴 System.Web.Mvc.ActionResult

GetAthleteDetails() 공개 메소드

public GetAthleteDetails ( int athleteId ) : System.Web.Mvc.ActionResult
athleteId int
리턴 System.Web.Mvc.ActionResult

IsValidInput() 공개 메소드

public IsValidInput ( string firstname, string lastname, string email, string startnumber, string clubId = "1" ) : bool
firstname string
lastname string
email string
startnumber string
clubId string
리턴 bool

Print() 공개 메소드

Prints the athletes.
public Print ( int raceId ) : System.Web.Mvc.ActionResult
raceId int
리턴 System.Web.Mvc.ActionResult

PrintForClub() 공개 메소드

Prints the athletes.
public PrintForClub ( int clubId ) : System.Web.Mvc.ActionResult
clubId int
리턴 System.Web.Mvc.ActionResult

ResetDeleteFormField() 공개 메소드

public ResetDeleteFormField ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ResetEditFormField() 공개 메소드

public ResetEditFormField ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ResetFormField() 공개 메소드

public ResetFormField ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Setup() 공개 메소드

public Setup ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

getGenderNameById() 공개 메소드

public getGenderNameById ( int id ) : Gender
id int
리턴 ITimeU.Models.Gender

isValidEmail() 공개 정적인 메소드

public static isValidEmail ( string inputEmail ) : bool
inputEmail string
리턴 bool