Пример #1
0
        public JsonResult UpdateEnquiryHotelDetails(EnquiryViewModel enqViewModel)
        {
            try
            {
                Set_Date_Session(enqViewModel.Enquiry);

                _enqRepo.UpdateEnquiryHotelDetails(enqViewModel.Enquiry);

                enqViewModel.FriendlyMessage.Add(MessageStore.Get("Enq05"));

                Logger.Debug("Enquiry Controller UpdateEnquiryHotelDetails");
            }
            catch (Exception ex)
            {
                enqViewModel.FriendlyMessage.Add(MessageStore.Get("SYS01"));

                Logger.Error("Enquiry Controller - UpdateEnquiryHotelDetails  " + ex.Message);
            }

            return(Json(enqViewModel));
        }