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