public ActionResult ViewCommand(IInputModel inputModel, ITypeMetadata typeMetadata, string format) { var partCollection = typeMetadata.GetContainingPartCollection(); ViewBag.Title = typeMetadata.Type.Name; ViewBag.Navigation = new FooterLinkModel { AgentSytemName = partCollection.AgentSystemName, PartDescriptiveName = partCollection.DescriptiveName, PartType = typeMetadata.Type.Name }; ActionResult result = View("ViewCommand", inputModel); return result; }