public ActionResult Edit(Patient_Basic_Info PBI)
        {
            if(ModelState.IsValid)
            {
                HospitalAppEntities2 db = new HospitalAppEntities2();
                db.Entry(PBI).State = EntityState.Modified;
                db.SaveChanges();
                return RedirectToAction("OpdView", "Opd");
            }

            return View(PBI);
        }
        public ActionResult Patient_Basic_Create(Patient_Basic_Info PBI)
        {
            if(ModelState.IsValid)
            {
                HospitalAppEntities2 db = new HospitalAppEntities2();
                db.Patient_Basic_Info.Add(PBI);
                db.SaveChanges();
               // Patient_Basic_Info = PBI;
                //MIP.patientBasicInfo = PBI;
                return RedirectToAction("Patient_Resident_Create", "Opd");

            }
            return View();
        }