if (ViewBag.TemplateName == "BootStrapRojand2") { { Layout = "~/Views/Shared/_Bootstrap2.cshtml"; } }