Пример #1
0
 public IActionResult Get(int id)
 {
     try
     {
         return(Ok(_commentManager.GetCommentById(id)));
     }
     catch (ArgumentException ex)
     {
         return(BadRequest(ex));
     }
 }