public ActionResult Edit(string commandNo, string preProductCode, string lotNo, string tabletisingLine) { var terminalNo = _identityDomain.FindTerminalNo(HttpContext.User.Identity); var result = _retrievalOfPreProductDomain.Edit(commandNo, preProductCode, lotNo, tabletisingLine, terminalNo); if (!result.IsSuccess) { return(Json(new { Success = false, Message = PreProductManagementResources.MSG1 })); } return(Json(new { Success = true })); }