public QuestionListItemViewModel(QuestionBase q) { this._name = q.Name; this._type = q.GetTypeOfQuestion(); this._number = q.Number; }
public QuestionListBoxItem(QuestionBase q) { this.name = q.Name; this.Type = q.GetTypeOfQuestion(); this.QuestionID = q.ID; }