public JsonNetResult <bool> CheckExistence(string entityTypeCode, int entityId) => EntityObjectService.CheckExistence(entityTypeCode, entityId);
public JsonResult CheckExistence(string entityTypeCode, int entityId) { return(Json(entityTypeCode == "null" || EntityObjectService.CheckExistence(entityTypeCode, entityId))); }