C# 클래스 NuSurvey.Web.Services.ScoreService

상속: IScoreService
파일 보기 프로젝트 열기: ucdavis/NuSurvey

공개 메소드들

메소드 설명
CalculateScores ( IRepository repository, SurveyResponse surveyResponse ) : void
ScoreQuestion ( IQueryable questions, QuestionAnswerParameter questionAnswerParameter ) : QuestionAnswerParameter

Score question and check for validity If an answer is invalid, the Value QuestionAnswerParameter.Invalid will be true and the QuestionAnswerParameter.Message will have the error.

메소드 상세

CalculateScores() 공개 메소드

public CalculateScores ( IRepository repository, SurveyResponse surveyResponse ) : void
repository IRepository
surveyResponse SurveyResponse
리턴 void

ScoreQuestion() 공개 메소드

Score question and check for validity If an answer is invalid, the Value QuestionAnswerParameter.Invalid will be true and the QuestionAnswerParameter.Message will have the error.
public ScoreQuestion ( IQueryable questions, QuestionAnswerParameter questionAnswerParameter ) : QuestionAnswerParameter
questions IQueryable
questionAnswerParameter NuSurvey.Web.Controllers.QuestionAnswerParameter
리턴 NuSurvey.Web.Controllers.QuestionAnswerParameter