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