C# Класс NuSurvey.Web.Services.ScoreService

Наследование: IScoreService
Показать файл Открыть проект

Открытые методы

Метод Описание
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