public ActionResult Contract_Insert(Contract contract, List <Shipment> lstShipment) { var contractBl = new ContractBL(); decimal _success = -1; try { _success = contractBl.Insert_ContainShipment(contract, lstShipment); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); } return(Json(new { success = _success })); }