I understood in the previous post the badrequest. I need to put a message to him as follows. If a merchandise does not have a Serial Number, I must put together a message and send it. Let's say my query returns me 7 items and these two do not have Serial Number. These two should compose the BadRequest message. Like this:
if(Num.SerialNumber == nul)
{
//aqui vai a mensagem. Veja que é um array, pois tenho dois caras sem o SN
}
Then, in the result of my Action I do
return BadRequest(mensagem);
where message would be the guys without the SN.