C# Class RecruitmentManagementSystem.Core.Services.QuizService

Inheritance: IQuizService
ファイルを表示 Open project: BrainStation-23/recruitment-management-system

Public Methods

Method Description
CreateQuiz ( QuizModel model ) : int
GetQuiz ( int quizId ) : Quiz
QuizService ( IModelFactory modelFactory, IQuizRepository quizRepository, IQuizQuestionRepository quizQuestionRepository, IQuestionRepository questionRepository, ICourseRepository courseRepository, IQuizPagesRepository quizPagesRepository ) : System.Collections.Generic
Update ( QuizModel model ) : void

Method Details

CreateQuiz() public method

public CreateQuiz ( QuizModel model ) : int
model QuizModel
return int

GetQuiz() public method

public GetQuiz ( int quizId ) : Quiz
quizId int
return Quiz

QuizService() public method

public QuizService ( IModelFactory modelFactory, IQuizRepository quizRepository, IQuizQuestionRepository quizQuestionRepository, IQuestionRepository questionRepository, ICourseRepository courseRepository, IQuizPagesRepository quizPagesRepository ) : System.Collections.Generic
modelFactory IModelFactory
quizRepository IQuizRepository
quizQuestionRepository IQuizQuestionRepository
questionRepository IQuestionRepository
courseRepository ICourseRepository
quizPagesRepository IQuizPagesRepository
return System.Collections.Generic

Update() public method

public Update ( QuizModel model ) : void
model QuizModel
return void