public JsonResult GetClosingQty(int ProductID, int ShadeID, string PackingIDs) { ResponseMsg response = new ResponseMsg(); var packings = StockLogic.GetClosingQty(ProductID, ShadeID, PackingIDs); if (packings != null && packings.Count() > 0) { response.IsSuccess = true; response.ResponseValue = packings; } return(Json(response, JsonRequestBehavior.AllowGet)); }