Ejemplo n.º 1
0
        public JsonResult ShipdataInsupd(string NewShipToID, string ShipCompany, string ShipAddress, string ShipPostalCode, string ShipName, string ShipPhone, string ShipmentAccountNo, string FOB, string FOBDescription, string ThirdPartyShipID, string RMAExpirationDays, string OrderStatus, string orderID, string shipingmethod, string ShipCountry, string shipState, string shippingterm)
        {
            BusssinessLogic objbal   = new BusssinessLogic();
            DataSet         ds       = new DataSet();
            string          jsondata = "";

            try
            {
                ds = objbal.ShipdataInsupd(NewShipToID, ShipCompany, ShipAddress, ShipPostalCode, ShipName, ShipPhone, ShipmentAccountNo, FOB, FOBDescription, ThirdPartyShipID, RMAExpirationDays, OrderStatus, orderID, shipingmethod, ShipCountry, shipState, shippingterm);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            jsondata = JsonConvert.SerializeObject(ds, Formatting.Indented);
            return(Json(jsondata, JsonRequestBehavior.AllowGet));
        }