public bool ThemGiamGia(ref string err, string MaHang, int MaGiam, DateTime NgayBatDau, DateTime NgayKetThuc) { bool f = false; try { dbs.SP_ThemGiamGia(MaHang, MaGiam, NgayBatDau, NgayKetThuc); f = true; } catch (Exception e) { err = e.Message; } return(f); }