ViewModel for the CaseStudy class
        public static CaseStudyViewModel Create(IRepository repository, Seminar seminar, CaseStudy caseStudy = null)
        {
            Check.Require(repository != null, "Repository must be supplied");

            var viewModel = new CaseStudyViewModel
                                {
                                    Seminar = seminar,
                                    CaseStudy = caseStudy ?? new CaseStudy()
                                };

            return viewModel;
        }
        public static CaseStudyViewModel Create(IRepository repository, Seminar seminar, CaseStudy caseStudy = null)
        {
            Check.Require(repository != null, "Repository must be supplied");

            var viewModel = new CaseStudyViewModel
            {
                Seminar   = seminar,
                CaseStudy = caseStudy ?? new CaseStudy()
            };

            return(viewModel);
        }