using FWLAZ_Web.Data;

namespace FWLAZ_Web.Objects
{
    public class QuestionGroupSummary
    {
        public int QuestionGroupID { get; set; }
        public string QuestionGroupName { get; set; }
        public int QuestionCount { get; set; }

        public QuestionGroupSummary(QuestionGroup questionGroup)
        {
            QuestionGroupID = questionGroup.Id;
            QuestionGroupName = questionGroup.Name;
            QuestionCount = questionGroup.Questions.Count;
        }

    }
}
