public IActionResult CheckComment(UserComment model) { if (ModelState.IsValid) { _comment.AllowComment(model.Id); ViewBag.Message = "Success"; } return(View()); }