Exemplo n.º 1
0
        public ActionResult BedInfo()
        {
            HospitalInfoModel bim = new HospitalInfoModel();

            bim.GetBedInfo();
            return(View("HospitalInformationPage", bim));
        }
Exemplo n.º 2
0
        public ActionResult SaveBedInfo(HospitalInfoModel bim)
        {
            int res = 0;

            res = bim.SaveBedInfo();
            HospitalInfoModel obj2 = new HospitalInfoModel();

            if (res != 0)
            {
                obj2.Msg = "Bed Info Updated Successfully";
            }
            else
            {
                obj2.Msg = "Bed Info can not ne Updated. Some problem Occurs.Please Try again later...";
            }
            obj2.GetBedInfo();

            return(View("HospitalInformationPage", obj2));
        }