C# 클래스 NHS111.Business.Services.QuestionService

상속: IQuestionService
파일 보기 프로젝트 열기: NHSChoices/nhs111-dotnet-beta

공개 메소드들

메소드 설명
GetAnswersForQuestion ( string id ) : Task
GetFirstQuestion ( string pathwayId ) : Task
GetJustToBeSafeQuestionsFirst ( string pathwayId ) : Task
GetJustToBeSafeQuestionsNext ( string pathwayId, IEnumerable answeredQuestionIds, bool multipleChoice, string selectedQuestionId ) : Task
GetNextQuestion ( string id, string answer ) : Task
GetQuestion ( string id ) : Task
QuestionService ( IConfiguration configuration, IRestfulHelper restfulHelper ) : System.Collections.Generic

메소드 상세

GetAnswersForQuestion() 공개 메소드

public GetAnswersForQuestion ( string id ) : Task
id string
리턴 Task

GetFirstQuestion() 공개 메소드

public GetFirstQuestion ( string pathwayId ) : Task
pathwayId string
리턴 Task

GetJustToBeSafeQuestionsFirst() 공개 메소드

public GetJustToBeSafeQuestionsFirst ( string pathwayId ) : Task
pathwayId string
리턴 Task

GetJustToBeSafeQuestionsNext() 공개 메소드

public GetJustToBeSafeQuestionsNext ( string pathwayId, IEnumerable answeredQuestionIds, bool multipleChoice, string selectedQuestionId ) : Task
pathwayId string
answeredQuestionIds IEnumerable
multipleChoice bool
selectedQuestionId string
리턴 Task

GetNextQuestion() 공개 메소드

public GetNextQuestion ( string id, string answer ) : Task
id string
answer string
리턴 Task

GetQuestion() 공개 메소드

public GetQuestion ( string id ) : Task
id string
리턴 Task

QuestionService() 공개 메소드

public QuestionService ( IConfiguration configuration, IRestfulHelper restfulHelper ) : System.Collections.Generic
configuration IConfiguration
restfulHelper IRestfulHelper
리턴 System.Collections.Generic