C# Class NHS111.Business.Services.QuestionService

Inheritance: IQuestionService
Afficher le fichier Open project: NHSChoices/nhs111-dotnet-beta

Méthodes publiques

Méthode Description
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

Method Details

GetAnswersForQuestion() public méthode

public GetAnswersForQuestion ( string id ) : Task
id string
Résultat Task

GetFirstQuestion() public méthode

public GetFirstQuestion ( string pathwayId ) : Task
pathwayId string
Résultat Task

GetJustToBeSafeQuestionsFirst() public méthode

public GetJustToBeSafeQuestionsFirst ( string pathwayId ) : Task
pathwayId string
Résultat Task

GetJustToBeSafeQuestionsNext() public méthode

public GetJustToBeSafeQuestionsNext ( string pathwayId, IEnumerable answeredQuestionIds, bool multipleChoice, string selectedQuestionId ) : Task
pathwayId string
answeredQuestionIds IEnumerable
multipleChoice bool
selectedQuestionId string
Résultat Task

GetNextQuestion() public méthode

public GetNextQuestion ( string id, string answer ) : Task
id string
answer string
Résultat Task

GetQuestion() public méthode

public GetQuestion ( string id ) : Task
id string
Résultat Task

QuestionService() public méthode

public QuestionService ( IConfiguration configuration, IRestfulHelper restfulHelper ) : System.Collections.Generic
configuration IConfiguration
restfulHelper IRestfulHelper
Résultat System.Collections.Generic