public IHttpActionResult GetCreatedByUser(int userId) { try { var communities = _communityResource.GetCreatedByUser(userId); return Ok(communities); } catch (Exception ex) { _errorSignaler.SignalFromCurrentContext(ex); return BadRequest(); } }