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