public async Task <ActionResult <Comment> > DeleteComment(int id) { var comment = await _commentDal.GetById(id); if (comment == null) { return(NotFound()); } await _commentDal.Remove(comment); return(comment); }