C# Class CommunityCourses.Web.Controllers.CourseController

Inheritance: Controller
Datei anzeigen Open project: adam7/CommunityCourses

Public Methods

Method Description
AddStudent ( string id, string studentId ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Details ( string id ) : System.Web.Mvc.ActionResult
Edit ( string id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
CreateUnits ( ) : void

Private Methods

Method Description
ConvertToCourseViewModel ( Course course ) : CourseViewModel
Create ( Course course ) : System.Web.Mvc.ActionResult
Edit ( Course course ) : System.Web.Mvc.ActionResult
PopulateViewData ( string courseId ) : void
UpdateModuleComplete ( string courseId, string studentId, string moduleId, bool complete ) : System.Web.Mvc.ActionResult
UpdateSessionComplete ( string courseId, string studentId, string sessionId, bool complete ) : System.Web.Mvc.ActionResult

Method Details

AddStudent() public method

public AddStudent ( string id, string studentId ) : System.Web.Mvc.ActionResult
id string
studentId string
return System.Web.Mvc.ActionResult

Create() public method

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

CreateUnits() protected method

protected CreateUnits ( ) : void
return void

Details() public method

public Details ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult

Index() public method

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