public ActionResult Template()
 {
     Contact contact = new Contact() { Name = "Alex", Age = 29, Titles = new List<Title>() { new Title() { Id = 1, Name = "Mr" }, new Title() { Id = 2, Name = "Mrs" } } };
     return View(contact);
 }
 public ActionResult DynamicTemplateSwitch()
 {
     Contact contact = new Contact() { Name = "Alex", Age = 29, Titles = new List<Title>() { new Title() { Id = 1, Name = "Mr" }, new Title() { Id = 2, Name = "Mrs" } } };
     return View("~/Views/Home/Templates/DynamicTemplateSwitch.cshtml", contact);
 }