Beispiel #1
0
        public FGTopUpList GetFGTopUpList(string Company, string LotNum)
        {
            FGTopUpList objFGTopUpList = new FGTopUpList();
            DAL         objDAL         = new DAL();

            objFGTopUpList = objDAL.GetFGTopUpListData(Company, LotNum);

            return(objFGTopUpList);
        }
Beispiel #2
0
        public string UpdateFGTopUp(List <FGTopUpList> objFGTopUpList, out string sErrMsg)
        {
            string msg = string.Empty; sErrMsg = string.Empty;

            DAL         objDAL      = new DAL();
            FGTopUpList fGTopUpList = new FGTopUpList();

            fGTopUpList.fGTopUpInvTransLists = objDAL.UpdateFGTopUpInvTransList(objFGTopUpList, out sErrMsg);
            if (sErrMsg == string.Empty)
            {
                msg = objDAL.UpdateFGTopUpData(fGTopUpList.fGTopUpInvTransLists, out sErrMsg);
            }
            return(msg);
        }