I'm a beginner on ASP Net and I'm in the "studies" phase, I wanted to know why my code is giving attribute errors. I'm using a POST method to send the attributes to a VIEW. The problem picture is attached.
View from my home:
@model PostGetModel.Models.Pessoa
@{
ViewBag.Title = "Index";
}
<form action="/Home/Lista" method="post">
<fieldset>
<legend>Pessoa</legend>
<div>
<label for="PessoaId">Código da pessoa</label>
</div>
<div>
<input type="number" value="3" id="IdPessoa" name="PessoaId"/>
</div>
<div>
<label for="Nome">Nome da pessoa</label>
</div>
<div>
<input type="text" value="@Model.Nome" id="Nome" name="Nome" />
</div>
<div>
<label for="Twitter">Twitter da pessoa</label>
</div>
<div>
<input type="text" value="@Model.Twitter" id="Twitter" name="Twitter" />
</div>
<p><input type="submit" value="Enviar" /></p>
</fieldset>
</form>
My problem JPG.
This is my first question on Stack OverFlow, I am grateful to be part of this community and if anyone can help me. A thousand excuses if I did not explain it right. Anything I give an EDIT.