コード例 #1
0
ファイル: ContractController.cs プロジェクト: dangtq72/ATT
        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 }));
        }