public IActionResult Add(Stock stock) { var result = (_stockServices.Add(stock)); if (result.Success) { return(Ok(result.Success)); } return(BadRequest(result.Message)); }