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

Inheritance: IContributorRequestStore
Mostrar archivo Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Private Properties

Property Type Description

Public Methods

Method Description
AddRequestAsync ( ContributorRequest contributorRequest ) : System.Threading.Tasks.Task
GetRequestForSurveyAsync ( int surveyId ) : Task>
GetRequestsForUserAsync ( string emailAddress ) : Task>
RemoveRequestAsync ( ContributorRequest contributorRequest ) : System.Threading.Tasks.Task
SqlServerContributorRequestStore ( ApplicationDbContext dbContext ) : System

Method Details

AddRequestAsync() public method

public AddRequestAsync ( ContributorRequest contributorRequest ) : System.Threading.Tasks.Task
contributorRequest Tailspin.Surveys.Data.DataModels.ContributorRequest
return System.Threading.Tasks.Task

GetRequestForSurveyAsync() public method

public GetRequestForSurveyAsync ( int surveyId ) : Task>
surveyId int
return Task>

GetRequestsForUserAsync() public method

public GetRequestsForUserAsync ( string emailAddress ) : Task>
emailAddress string
return Task>

RemoveRequestAsync() public method

public RemoveRequestAsync ( ContributorRequest contributorRequest ) : System.Threading.Tasks.Task
contributorRequest Tailspin.Surveys.Data.DataModels.ContributorRequest
return System.Threading.Tasks.Task

SqlServerContributorRequestStore() public method

public SqlServerContributorRequestStore ( ApplicationDbContext dbContext ) : System
dbContext Tailspin.Surveys.Data.DataModels.ApplicationDbContext
return System