C# Class DBPOLLDemo.Controllers.AnswerController

Inheritance: Controller
Datei anzeigen Open project: Marknel/dbPOLL

Public Methods

Method Description
Create ( int questionid, String name ) : System.Web.Mvc.ActionResult
CreateMethod ( int questionid, String name ) : System.Web.Mvc.ActionResult
CreateTrueFalse ( int questionid ) : System.Web.Mvc.ActionResult
CreateYesNoAbstain ( int questionid ) : System.Web.Mvc.ActionResult
Delete ( int answerid, int questionid, String name ) : System.Web.Mvc.ActionResult
Details ( int id, String name ) : System.Web.Mvc.ActionResult
Edit ( int answerid, int questionid ) : System.Web.Mvc.ActionResult
Index ( int id, String name ) : System.Web.Mvc.ActionResult
OpinionScale ( int questionid ) : System.Web.Mvc.ActionResult
SevenOpinionScale ( int questionid ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( String answer, int correct, String weight, int questionid, string ansnum ) : System.Web.Mvc.ActionResult
CreateTrueFalse ( String answer, int correct, String weight, int questionid, string ansnum, String answer1, int correct1, String weight1, string ansnum1 ) : System.Web.Mvc.ActionResult
CreateYesNoAbstain ( String answer, int correct, String weight, int questionid, String ansnum, String answer1, int correct1, String weight1, String ansnum1, String answer2, int correct2, String weight2, String ansnum2 ) : System.Web.Mvc.ActionResult
Edit ( int answerid, String answer, int correct, String weight, int questionid, String ansnum ) : System.Web.Mvc.ActionResult
OpinionScale ( String answer, int correct, String weight, int questionid, String ansnum, String answer1, int correct1, String weight1, String ansnum1, String answer2, int correct2, String weight2, String ansnum2, String answer3, int correct3, String weight3, String ansnum3, String answer4, int correct4, String weight4, String ansnum4 ) : System.Web.Mvc.ActionResult
SevenOpinionScale ( String answer, int correct, String weight, int questionid, String ansnum, String answer1, int correct1, String weight1, String ansnum1, String answer2, int correct2, String weight2, String ansnum2, String answer3, int correct3, String weight3, String ansnum3, String answer4, int correct4, String weight4, String ansnum4, String answer5, int correct5, String weight5, String ansnum5, String answer6, int correct6, String weight6, String ansnum6 ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

public Create ( int questionid, String name ) : System.Web.Mvc.ActionResult
questionid int
name String
return System.Web.Mvc.ActionResult

CreateMethod() public method

public CreateMethod ( int questionid, String name ) : System.Web.Mvc.ActionResult
questionid int
name String
return System.Web.Mvc.ActionResult

CreateTrueFalse() public method

public CreateTrueFalse ( int questionid ) : System.Web.Mvc.ActionResult
questionid int
return System.Web.Mvc.ActionResult

CreateYesNoAbstain() public method

public CreateYesNoAbstain ( int questionid ) : System.Web.Mvc.ActionResult
questionid int
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int answerid, int questionid, String name ) : System.Web.Mvc.ActionResult
answerid int
questionid int
name String
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id, String name ) : System.Web.Mvc.ActionResult
id int
name String
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int answerid, int questionid ) : System.Web.Mvc.ActionResult
answerid int
questionid int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( int id, String name ) : System.Web.Mvc.ActionResult
id int
name String
return System.Web.Mvc.ActionResult

OpinionScale() public method

public OpinionScale ( int questionid ) : System.Web.Mvc.ActionResult
questionid int
return System.Web.Mvc.ActionResult

SevenOpinionScale() public method

public SevenOpinionScale ( int questionid ) : System.Web.Mvc.ActionResult
questionid int
return System.Web.Mvc.ActionResult