Example #1
0
 public ActionResult ContentTypeName(string displayName, int version)
 {
     return(Json(new {
         result = _contentDefinitionService.GenerateContentTypeNameFromDisplayName(displayName),
         version = version
     }));
 }
Example #2
0
 public ActionResult ContentTypeName(string displayName)
 {
     return(Json(_contentDefinitionService.GenerateContentTypeNameFromDisplayName(displayName)));
 }