C# Class RalphWilliams.Modules.DNNVideoCourse.Controllers.QuestionController

Show file Open project: ralphwilliams/DNNVideoCourseModule Class Usage Examples

Public Methods

Method Description
CreateQuestion ( QuestionInfo q ) : void
DeleteQuestion ( QuestionInfo q ) : void
DeleteQuestion ( int questionId, int moduleId ) : void
GetQuestion ( int questionId, int moduleId ) : QuestionInfo
GetQuestions ( int moduleId ) : IEnumerable
UpdateQuestion ( QuestionInfo q ) : void

Method Details

CreateQuestion() public method

public CreateQuestion ( QuestionInfo q ) : void
q RalphWilliams.Modules.DNNVideoCourse.Entities.QuestionInfo
return void

DeleteQuestion() public method

public DeleteQuestion ( QuestionInfo q ) : void
q RalphWilliams.Modules.DNNVideoCourse.Entities.QuestionInfo
return void

DeleteQuestion() public method

public DeleteQuestion ( int questionId, int moduleId ) : void
questionId int
moduleId int
return void

GetQuestion() public method

public GetQuestion ( int questionId, int moduleId ) : QuestionInfo
questionId int
moduleId int
return RalphWilliams.Modules.DNNVideoCourse.Entities.QuestionInfo

GetQuestions() public method

public GetQuestions ( int moduleId ) : IEnumerable
moduleId int
return IEnumerable

UpdateQuestion() public method

public UpdateQuestion ( QuestionInfo q ) : void
q RalphWilliams.Modules.DNNVideoCourse.Entities.QuestionInfo
return void