public JsonResult GenerateCatalogList() { try { var b = iPublish.PublishCatalogTemplate(); return(Json(b, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(FunResult.GetError(ex.Message.ToString()), JsonRequestBehavior.AllowGet)); } }