public ActionResult Submit(DemoPostModel demoPostModel)
 {
     return View("Index", new DemoViewModel
     {
         PageId = "DemoForm",
         StringValue = demoPostModel.StringValue,
         CheckBox = demoPostModel.Checkbox,
         SelectList = GetSelectList(demoPostModel.Selected),
         Selected = demoPostModel.Selected,
         VisitGuid = demoPostModel.VisitGuid
     });
 }
        public void ShouldReturnActionResult_For_Submit()
        {
            // Arrange
            var demoPostModel = new DemoPostModel
                                    {
                                        VisitGuid = Guid.NewGuid(),
                                        Selected = "Maybe",
                                        StringValue = "Fluff",
                                        Checkbox = true
                                    };

            // Act
            var actionResult = _demoController.Submit(demoPostModel);

            // Assert
            Assert.That(actionResult, Is.Not.Null);
        }