Very well, I'll try to be as clear as possible. I have the stock table where you will have several products there - > ProductId and its Quantity. In the same table the productId can be repeated with a different quantity, in my current code I can only get the first quantity in the table but I can not get the other one and add the two. use entity framework using lambda.
Estoque estoque = db.Estoque.Where(x => x.ProdutoId == model.ProdutoId).FirstOrDefault();
int qtdEstoque = estoque.Quantidade;
Returns = 10 being that it had to be Quantity = 30