public ActionResult CapNhatTinhTrangSucKhoePhamNhan(string ma_so)
        {
            ViewBag.ma_phong_ban = Session["ma_phong_ban"];
            ViewBag.username     = Session["username"];
            ViewBag.than_nhan    = Session["ma_nhan_than"];
            ViewBag.ma_so        = Session["ma_so"];
            Tinh_Trang_Cham_Soc_Pham_Nhan_Objects obj;

            if (Request["txtSearch_Text"] != "")
            {
                obj = new Tinh_Trang_Cham_Soc_Pham_Nhan_BLL().GetElementByID(ViewBag.ma_so);
                if (obj == null)
                {
                    obj = new Tinh_Trang_Cham_Soc_Pham_Nhan_BLL().GetElementByTop();
                }
                return(View(obj));
            }
            else
            {
                ma_so = Request["txtSearch_Text"];
                obj   = new Tinh_Trang_Cham_Soc_Pham_Nhan_BLL().GetElementByID(ma_so);
                if (obj == null)
                {
                    obj = new Tinh_Trang_Cham_Soc_Pham_Nhan_BLL().GetElementByTop();
                }
            }
            return(View(obj));
        }
        public ActionResult DanhSachTuNhanDuocChamSocTrongNgay()
        {
            Session["ma_so"]     = Request["txtmaso"];
            ViewBag.ma_phong_ban = Session["ma_phong_ban"];
            ViewBag.username     = Session["username"];
            ViewBag.than_nhan    = Session["ma_nhan_than"];
            DateTime ngayhientai = DateTime.Now;

            ViewBag.ngay = ngayhientai.ToString("dd/MM/yyyy");
            List <Tinh_Trang_Cham_Soc_Pham_Nhan_Objects> lst = new Tinh_Trang_Cham_Soc_Pham_Nhan_BLL().GetElmentsByDate(ngayhientai);

            return(View(lst));
        }