Beispiel #1
0
        public DataTable GetThanhToanBUS(ThanhToanEntities tt)
        {
            DataTable dt = null;

            dt = nvmTTDAO.GetThanhToan(tt);
            return(dt);
        }
Beispiel #2
0
        public string GetThanhToan(QLPHONGKHAMEntities db, string MaHoSo, out ThanhToanDTO thanhToan)
        {
            thanhToan = new ThanhToanDTO();
            THANHTOAN ResObject = new THANHTOAN();

            thanhToanService.GetThanhToan(db, MaHoSo, out ResObject);
            if (ResObject == null)
            {
                return(Constant.RES_FAI);
            }
            BUS.Com.Utils.CopyPropertiesFrom(ResObject, thanhToan);
            return(Constant.RES_SUC);
        }