public ActionResult <IEnumerable <Comment> > GetCommentsByBlogId(int id) { try { return(Ok(_cs.GetByBlogId(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }