public CardService() { m_dalCard = new CardDAL(); m_dalRecharge = new RechargeDAL(); m_dalSaleGas = new SaleGasDAL(); m_dataRequest = null; m_dataResponse = null; }
private DataTransfer GasBuyingAddSaleGas(SaleGasDTO saleGasDTO) { SaleGasDAL dal = new SaleGasDAL(); return dal.AddSaleGas(saleGasDTO); }
public string GetSaleGasReport(string stGasStoreID, string stGasStationID, DateTime dateStart, DateTime dateEnd, string stCardID) { SaleGasDAL dal = new SaleGasDAL(); DataTransfer dataResult = dal.GetSaleGasReport(stGasStoreID, stGasStationID, dateStart, dateEnd, stCardID); return JSonHelper.ConvertObjectToJSon(dataResult); }