public string Post(getData data) { custom get = new custom(); string result = ""; if (data == null) { result = get.getData(""); } else { result = get.getData(data.code); } return(result); }