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