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