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