// POST: /Receptionist/SetRoomForReservationRoom
        public JsonResult SetRoomForReservationRoom(tbl_Reservation_Room_tbl_Room_Rel model)
        {
            object[] message = new object[1];
            try
            {
                UserID          = Session[CConfig.SESSION_USERID] == null ? 1 : Convert.ToInt32(Session[CConfig.SESSION_USERID]);
                model.HotelCode = HotelCode;

                if (model != null & ModelState.IsValid)
                {
                    message[0] = data.Create_RoomforReservationRoom(model, UserID);
                }
            }
            catch (Exception ex)
            {
                message[0] = "Gán phòng không thành công!";
                CLog.LogError(CBase.GetDeepCaller(), CBase.GetDetailError(ex));
            }

            return(Json(new { mess = message }, JsonRequestBehavior.AllowGet));
        }