Example #1
0
        public string GetGasStationList(string stGasStoreID)
        {
            GasStationDAL dalGasStation = new GasStationDAL();
            DataTransfer  response      = new DataTransfer();
            DataSet       ds            = dalGasStation.GetGasStationList(stGasStoreID);

            if (ds != null)
            {
                response.ResponseDataSet = ds;
                response.ResponseCode    = DataTransfer.RESPONSE_CODE_SUCCESS;
            }
            else
            {
                response.ResponseCode = DataTransfer.RESPONSE_CODE_FAIL;
            }

            return(JSonHelper.ConvertObjectToJSon(response));
        }