public ActionResult TransferRoom(Guid id)
        {
            var targetV = new Models.ViewModels.GeneralInfos.TransferRoom.TransferRoom(id);
            var targetW = new Models.ViewModels.GeneralInfos.TransferRoom.SelectionWorker(targetV);

            ViewBag.RoomId = targetW.Rooms;

            return(View(targetV));
        }
        public ActionResult TransferRoom([Bind()] Models.ViewModels.GeneralInfos.TransferRoom.TransferRoom targetV)
        {
            if (ModelState.IsValid)
            {
                var db3    = new Models.Domains3.Entities.EiSDbContext();
                var target = db3.GeneralRoomInfos.Find(targetV.GeneralRoomInfoId);

                return(RedirectToAction("Create2", new { target.OutPatientNumber, targetV.RoomId, preGeneralRoomInfoId = targetV.GeneralRoomInfoId }));
            }

            var targetW = new Models.ViewModels.GeneralInfos.TransferRoom.SelectionWorker(targetV);

            ViewBag.RoomId = targetW.Rooms;

            return(View(targetV));
        }