Merhabalar,
Başlıkta belirtmiş olduğum hatayı alıyorum. Yanlış yapılan yer neresidir acaba? Yardımcı olabilir misiniz?

Controller:

Kod:Panoya kopyala
[HttpGet] public IActionResult Add() ).ToList(); ViewBag.cm = categorievalue; return View(); } [HttpPost] public IActionResult Add(Article a ) else } return View(); } View Tarafı : @model BlogEntity.Concrete.Article @
[h=2]Yeni Blog Ekle[/h]
@using (Html.BeginForm("Add", "Blog", FormMethod.Post)) ) @Html.ValidationMessageFor(x => x.ArticleTitle, "", new )
[h=4]Blog Acıklama[/h] @Html.TextAreaFor(x => x.ArticleContent, 7, 3, new ) @Html.ValidationMessageFor(x => x.ArticleContent, "", new )
[h=4]Blog Kategorisi[/h] @Html.DropDownListFor(x => x.306, (List)ViewBag.cm, new ) @Html.ValidationMessageFor(x => x.306,"", new )
@*[h=4]Blog Resmi[/h] @Html.TextBoxFor(x => x.ArticleImage, new ) @Html.ValidationMessageFor(x => x.ArticleImage, "", new )
*@ Blog Ekle }