public IHttpActionResult GetByPost(int postId) { try { var comments = _service.GetByPostId(postId); return Ok(comments); } catch (Exception ex) { _errorSignaler.SignalFromCurrentContext(ex); return BadRequest(); } }