I'm getting the data correctly, and getting them to separate correctly too, only problem is that I do not know how to use the values and be able to write to the database, could they help me?
The image below shows how I'm getting the data and treating it so far:
[HttpPost]publicasyncTask<IActionResult>SellAdd(stringproducts){varobjects=JsonConvert.DeserializeObject<List<object>>(products);string[]model=objects.Select(x=>x.ToString()).ToArray();foreach(varproductinmodel){//varprodutoCodigo=await_productManager.GetProductCodigoAsync();/*varvenda=newApplicationSell{Quantidade=product.quantidadeProduto,Total=product.valorTotalProduto,ProductId=produtoCodigo.Codigo};await_productManager.GravaVendaAsync(venda);*/}returnRedirectToAction("Index");
}