C# Class NHS111.Business.Api.Controllers.QuestionController

Inheritance: ApiController
ファイルを表示 Open project: NHSChoices/nhs111-dotnet-beta

Public Methods

Method Description
QuestionController ( IQuestionService questionService, IQuestionTransformer questionTransformer, IAnswersForNodeBuilder answersForNodeBuilder, string>.ICacheManager cacheManager ) : System

Private Methods

Method Description
GetAnswers ( string pathwayId, string questionId ) : Task
GetFirstQuestion ( string pathwayId, [ state ) : Task
GetJustToBeSafePartOneNodes ( string pathwayId ) : Task
GetJustToBeSafePartTwoNodes ( string pathwayId, string answeredQuestionIds, bool multipleChoice, string questionId = "" ) : Task
GetNextNode ( string pathwayId, string nodeId, string answer, [ state, string cacheKey = null ) : Task
GetQuestionById ( string pathwayId, string questionId ) : Task

Method Details

QuestionController() public method

public QuestionController ( IQuestionService questionService, IQuestionTransformer questionTransformer, IAnswersForNodeBuilder answersForNodeBuilder, string>.ICacheManager cacheManager ) : System
questionService IQuestionService
questionTransformer IQuestionTransformer
answersForNodeBuilder IAnswersForNodeBuilder
cacheManager string>.ICacheManager
return System