public IActionResult create(Post post) { if (m.createpost(post)) { return(View()); } ModelState.AddModelError(string.Empty, "not valid"); return(View()); }