Пример #1
0
 public QuestionSetView(QuestionSet set)
 {
     if (set != null)
     {
         Id        = set.Id;
         Owner     = set.ApplicationUser.Email;
         Title     = set.Title;
         Desc      = set.Desc;
         Created   = set.Created;
         Questions = GetQuestionViews(set.Questions);
         FolderId  = set.FolderId;
         Image     = set.Image;
     }
 }
Пример #2
0
 public QuestionSetView(QuestionSet set, List <Breadcrumb> breadcrumbs)
     : this(set)
 {
     Breadcrumbs = breadcrumbs;
 }