Esempio n. 1
0
        public ActionResult UpdateVendor([FromBody] JObject postbody)
        {
            int    VendorID       = Convert.ToInt32(postbody["VendorID"]);
            string VendorName     = postbody["VendorName"].ToString();
            string VendorLocation = postbody["VendorLocation"].ToString();
            string Action         = postbody["Action"].ToString();
            var    UV             = adal.EditVendor(VendorID, VendorName, VendorLocation, Action);

            return(Ok(UV));
        }