public static bool _checkSoPL(Hospital data, int IDdon) => PhieuLinhProvider.isHasSoPhieuLinh(data, IDdon);
// khi xóa public static bool SetStatusSoPL(int maKP, int _soPL, int ploai, int noiNgoaiTru) => PhieuLinhProvider.SetStatusSoPL(maKP, _soPL, ploai, noiNgoaiTru);
public static bool checkSoPL(int maKP, int _soPL, int ploai, int noiNgoaiTru) => PhieuLinhProvider.CheckSoPL(maKP, _soPL, ploai, noiNgoaiTru);
//internal static List<DonGiaDV> _getGiaSD(Hospital data, int madv) //{ // try // { // double rs = 0; // var qdongia = data.DonGiaDVs.Where(p => p.MaDV == madv && p.Status == true).ToList(); // return qdongia; // } // catch (Exception ex) // { // MessageBox.Show(ex.InnerException.ToString()); // return new List<DonGiaDV>(); // } //} #region lấy số PL /// <summary> /// /// </summary> /// <param name="ploai"></param> /// <param name="maKP"></param> /// <param name="noiNgoaiTru"></param> /// <returns></returns> public static int GetSoPL(int ploai, int maKP, int noiNgoaiTru) => PhieuLinhProvider.GetSoPL(ploai, maKP, noiNgoaiTru);