public IHttpActionResult GetList(int postId) { try { var postContents = _postContentsSvc.GetByPostId(postId); return Ok(postContents); } catch (Exception ex) { _errorSignaler.SignalFromCurrentContext(ex); return BadRequest(); } }