C# Class Tailspin.Surveys.Data.DataStore.SqlServerQuestionStore

Inheritance: IQuestionStore
Exibir arquivo Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Public Methods

Method Description
AddQuestionAsync ( Question question ) : Task
DeleteQuestionAsync ( Question question ) : Task
GetQuestionAsync ( int id ) : Task
SqlServerQuestionStore ( ApplicationDbContext dbContext ) : System.Threading.Tasks
UpdateQuestionAsync ( Question question ) : Task

Method Details

AddQuestionAsync() public method

public AddQuestionAsync ( Question question ) : Task
question Tailspin.Surveys.Data.DataModels.Question
return Task

DeleteQuestionAsync() public method

public DeleteQuestionAsync ( Question question ) : Task
question Tailspin.Surveys.Data.DataModels.Question
return Task

GetQuestionAsync() public method

public GetQuestionAsync ( int id ) : Task
id int
return Task

SqlServerQuestionStore() public method

public SqlServerQuestionStore ( ApplicationDbContext dbContext ) : System.Threading.Tasks
dbContext Tailspin.Surveys.Data.DataModels.ApplicationDbContext
return System.Threading.Tasks

UpdateQuestionAsync() public method

public UpdateQuestionAsync ( Question question ) : Task
question Tailspin.Surveys.Data.DataModels.Question
return Task