public bool update(DTO_GiaCuoc gc) { return(GC.update_kh(gc)); }
public bool update_kh(DTO_GiaCuoc gc) { string sql = "Update " + table + " Set TGBD='" + gc.thoigianbatdau + "',TGKT='" + gc.thoigiankethuc + "',GIACUOC='" + gc.giacuoc + "' WHERE MAGC='" + gc.Id + "'"; return(Update(sql)); }