public ActionResult DeleteVendor([FromBody] JObject postbody) { int VendorID = Convert.ToInt32(postbody["VendorID"]); string Action = postbody["Action"].ToString(); var DV = adal.DeleteVendorDetails(VendorID, Action); return(Ok(DV)); }
public ActionResult DeleteVendor([FromBody] JObject postbody) { int VendorID = Convert.ToInt32(postbody["VendorID"]); string Action = postbody["Action"].ToString(); var DV = adal.DeleteVendorDetails(VendorID, Action); return(Ok(DV)); }