Beispiel #1
0
        public IActionResult CheckComment(UserComment model)
        {
            if (ModelState.IsValid)
            {
                _comment.AllowComment(model.Id);
                ViewBag.Message = "Success";
            }

            return(View());
        }