Example #1
0
        public IActionResult Activate(int id)
        {
            var success = CommentService.Activate(id);

            if (!success)
            {
                return(NotFound());
            }

            return(Ok());
        }