public IActionResult GetByProductID(int productID) { var result = _stockServices.GetByProductID(productID); if (result.Success) { return(Ok(result.Data)); } return(BadRequest(result.Message)); }