public IActionResult Post([FromBody] StockViewModel stockViewModel) { if (!ModelState.IsValid) { NotifyModelStateErrors(); return(Response(stockViewModel)); } _stockAppService.AddNewStock(stockViewModel); return(Response(stockViewModel)); }