public IActionResult GetComments(int id) { try { return(Ok(_authorManager.GetAuthorComments(id))); } catch (ArgumentException ex) { return(BadRequest(ex)); } }
public IActionResult GetComments(int id) { try { return(Ok(_authorManager.GetAuthorComments(id))); } catch (ArgumentException ex) { return(BadRequest(ex)); } }