Example #1
0
    public float getSoDuConLaiLoaiTien(LoaiTien loaiTien)
    {
        float result = 0;
        LoaiTienManagement loaiTienManagement = new LoaiTienManagement();
        DonHangManagement  donHangManagement  = new DonHangManagement();

        result = loaiTien.HanMuc.Value - donHangManagement.tongGiaTriGiaoDich(" where IDLoaiTien=" + loaiTien.ID + " and TrangThai=N'DaChuyenCoin'");
        return(result);
    }