public IActionResult AddStock([FromBody] Stock obj) { _stocks.AddStock(obj); return(RedirectToAction("Index")); }