public JsonObject DeleteDataRefType(long dataRefTypeId)
{
var retMessage = new JsonObject();
string message;
bool success = DataCommon.DeleteCnsDataRefType(dataRefTypeId, out message);
if (success)
{
retMessage.Put("message", "Successfully Deleted DataRefType");
}
else
{
if (message.Trim().Length == 0) message = "Error in Deleting DataRefType";
retMessage.Put("error", message);
}
return retMessage;
}
#endregion