public virtual JsonResult PostHl7OrderForm(HL7EntryFormViewModel orderFormData) { var data = ViewBag.UserData; var orderFormPost = new LabQueryModel { Status = orderFormData.Status, Hl7Stream = orderFormData.HL7Stream, OrderId = orderFormData.OrderId, UserRole = data.Role != "Maker" ? (data.Role == "Checker" ? Checker : SuperAdmin) : Maker, EntryOption = orderFormData.EntryOption }; return(Json( _getPayerResponse.PostHl7OrderForm(orderFormPost) ? new { Success = true } : new { Success = false })); }
// [HttpPost] public virtual ActionResult HL7EntryDetails() { var HL7EntryDetails = new HL7EntryFormViewModel();; return(View(HL7EntryDetails)); }