public ActionResult GetAllProductList([FromBody] JObject postbody) { List <ProductDetails> pd = new List <ProductDetails>(); string Action = postbody["Action"].ToString(); pd = adal.AllProductList(Action); return(Ok(pd)); }
public ActionResult GetAllProductList([FromBody] JObject postbody) { List <ProductDetails> pd = new List <ProductDetails>(); string Action = postbody["Action"].ToString(); pd = adal.AllProductList(Action); return(Ok(pd)); }