public ActionResult Type(string namespaceId, string typeId) { DocumentedType type; if (!_router.TryFindTypeFromRoutePart(typeId, out type)) { return HttpNotFound($"Type not found, namespaceId: {namespaceId}, typeId: {typeId}"); } return View(new TypeViewModel(type)); }