C# Class DBPOLLDemo.Controllers.PollController

Inheritance: Controller
Datei anzeigen Open project: Marknel/dbPOLL

Public Methods

Method Description
AssignPollCreator ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
AssignPollMaster ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
CreateSession ( int pollID, String pollName ) : System.Web.Mvc.ActionResult
Delete ( int pollid ) : System.Web.Mvc.ActionResult
DeleteSession ( int sessionid ) : System.Web.Mvc.ActionResult
Details ( int id, String name ) : System.Web.Mvc.ActionResult
Edit ( int id, String name ) : System.Web.Mvc.ActionResult
EditSession ( String sessionname, int sessionid, int pollid, decimal longitude, decimal latitude, System.DateTime time ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
RunDevices ( ) : System.Web.Mvc.ActionResult
TestDevices ( ) : System.Web.Mvc.ActionResult
UnassignPollUser ( int pollid, String pollname, int userid, bool master ) : System.Web.Mvc.ActionResult
ViewObjects ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
answerDetails ( int id, String name ) : System.Web.Mvc.ActionResult
viewPolls ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AssignPollCreator ( int pollid, int selectedObjects, String pollname ) : System.Web.Mvc.ActionResult
AssignPollMaster ( int pollid, int selectedObjects, String pollname ) : System.Web.Mvc.ActionResult
Create ( String name, int createdby, Nullable expiresat ) : System.Web.Mvc.ActionResult
Edit ( int pollid, String pollname, int changed ) : System.Web.Mvc.ActionResult
viewPolls ( String date1, String date2 ) : System.Web.Mvc.ActionResult

Method Details

AssignPollCreator() public method

public AssignPollCreator ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
pollid int
pollname String
return System.Web.Mvc.ActionResult

AssignPollMaster() public method

public AssignPollMaster ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
pollid int
pollname String
return System.Web.Mvc.ActionResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

CreateSession() public method

public CreateSession ( int pollID, String pollName ) : System.Web.Mvc.ActionResult
pollID int
pollName String
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int pollid ) : System.Web.Mvc.ActionResult
pollid int
return System.Web.Mvc.ActionResult

DeleteSession() public method

public DeleteSession ( int sessionid ) : System.Web.Mvc.ActionResult
sessionid int
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 id, String name ) : System.Web.Mvc.ActionResult
id int
name String
return System.Web.Mvc.ActionResult

EditSession() public method

public EditSession ( String sessionname, int sessionid, int pollid, decimal longitude, decimal latitude, System.DateTime time ) : System.Web.Mvc.ActionResult
sessionname String
sessionid int
pollid int
longitude decimal
latitude decimal
time System.DateTime
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

RunDevices() public method

public RunDevices ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

TestDevices() public method

public TestDevices ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

UnassignPollUser() public method

public UnassignPollUser ( int pollid, String pollname, int userid, bool master ) : System.Web.Mvc.ActionResult
pollid int
pollname String
userid int
master bool
return System.Web.Mvc.ActionResult

ViewObjects() public method

public ViewObjects ( int pollid, String pollname ) : System.Web.Mvc.ActionResult
pollid int
pollname String
return System.Web.Mvc.ActionResult

answerDetails() public method

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

viewPolls() public method

public viewPolls ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult