public AnswerQuestionModel(IExpertAnswerData answerData, IExpertQuestionData questionData, IExpertData expertData, UserManager <UserProfile> userManager, IAccountData accountData)
 {
     this.answerData   = answerData;
     this.questionData = questionData;
     this.expertData   = expertData;
     this.userManager  = userManager;
     this.accountData  = accountData;
 }
 public DeleteQuestionModel(IExpertQuestionData questionData, IExpertAnswerData answerData, UserManager <UserProfile> userManager)
 {
     this.questionData = questionData;
     this.answerData   = answerData;
     this.userManager  = userManager;
 }
示例#3
0
 public QuestionListModel(IExpertQuestionData questionData, IExpertQuestionTypeData typeData, IAccountData accountData)
 {
     this.questionData = questionData;
     this.typeData     = typeData;
     this.accountData  = accountData;
 }
示例#4
0
 public QuestionDetailModel(IExpertQuestionData questionData, UserManager <UserProfile> userManager, IAccountData accountData)
 {
     this.questionData = questionData;
     this.userManager  = userManager;
     this.accountData  = accountData;
 }
示例#5
0
 public AskQuestionModel(IExpertQuestionData questionData, IExpertQuestionTypeData typeData, UserManager <UserProfile> userManager)
 {
     this.questionData = questionData;
     this.typeData     = typeData;
     this.userManager  = userManager;
 }
 public sqlExpertAnswerData(IT420DBContext db, IExpertQuestionData questionData)
 {
     this.db           = db;
     this.questionData = questionData;
 }