public static void CapNhatBaoCao(ChiTietBaoCaoDoanhThu chiTiet, decimal soTien) { ChiTietBaoCaoDoanhThuDAL.CapNhatBaoCao(chiTiet, soTien); DataTable dt = HieuXeBLL.GetHieuXe(); foreach (DataRow row in dt.Rows) { ChiTietBaoCaoDoanhThu _chiTiet = new ChiTietBaoCaoDoanhThu(); _chiTiet.MaBC = chiTiet.MaBC; _chiTiet.HieuXe = row.ItemArray[0].ToString(); _chiTiet.MaCTBC = ChiTietBaoCaoDoanhThuDAL.GetMaBCDT(_chiTiet.MaBC, _chiTiet.HieuXe); ChiTietBaoCaoDoanhThuDAL.CapNhatTiLe(_chiTiet); } }
public static string GetMaCTBC(string maBC, string hieuXe) { return(ChiTietBaoCaoDoanhThuDAL.GetMaBCDT(maBC, hieuXe)); }