public JsonResult UpdateEnquiryFlightDetails(EnquiryViewModel enqViewModel) { try { Set_Date_Session(enqViewModel.Enquiry); _enqRepo.UpdateEnquiryFlightDetails(enqViewModel.Enquiry); enqViewModel.FriendlyMessage.Add(MessageStore.Get("Enq05")); Logger.Debug("Enquiry Controller UpdateEnquiryFlightDetails"); } catch (Exception ex) { enqViewModel.FriendlyMessage.Add(MessageStore.Get("SYS01")); Logger.Error("Enquiry Controller - UpdateEnquiryFlightDetails " + ex.Message); } return(Json(enqViewModel)); }