Пример #1
0
        //Update hồ sơ bệnh án
        public string UpdateHoSo(DTO.HoSoBenhAnDTO hoso)
        {
            HoSoBenhAnBUS bus = new HoSoBenhAnBUS();

            using (QLPHONGKHAMEntities db = new QLPHONGKHAMEntities())
            {
                if (bus.UpdateHoSoBenhAn(db, hoso) == COM.Constant.RES_FAI)
                {
                    return(COM.Constant.RES_FAI);
                }

                db.SaveChanges();
            }

            return(COM.Constant.RES_SUC);
        }
Пример #2
0
 public PaymentDetail(DTO.HoSoBenhAnDTO hoso)
 {
     InitializeComponent();
     this.hoso = hoso;
 }