예제 #1
0
        public ActionResult DeleteProduct([FromBody] JObject postbody)
        {
            int    ProductID = Convert.ToInt32(postbody["ProductID"]);
            string Action    = postbody["Action"].ToString();
            var    DP        = adal.DeleteProductDetails(ProductID, Action);

            return(Ok(DP));
        }