Пример #1
0
        public string GetInfoBy_MabenhNhan(string MaBenhNhan)
        {
            int             DangKyLichHen_Id = Int32.MinValue;
            ViCareComponent objc             = new ViCareComponent();
            DataTable       dt1 = objc.VC_Get_by_MaBenhNhan(MaBenhNhan);

            if (dt1.Rows[0]["Ref_DangKyLichHen_Id"] != null)
            {
                DangKyLichHen_Id = Convert.ToInt32(dt1.Rows[0]["Ref_DangKyLichHen_Id"]);
            }
            var dt2 = objc.LH_GetByKey(DangKyLichHen_Id);

            return(dt2);
        }
Пример #2
0
        //GetByKey
        public string LH_GetByKey(int DangKyLichHen_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_GetByKey(DangKyLichHen_Id));
        }