public IActionResult SaveEntity(List <ProductQuantityModel> productQuantity) { try { bool status = false; if (productQuantity != null) { status = _productQuantityService.SaveEntity(productQuantity); } return(new OkObjectResult(new { Status = status })); } catch (Exception ex) { throw; } }