public IHttpActionResult SetViewed(string id, [FromBody]string userId) { long result; using (var reportsService = new ReportsService()) { result = reportsService.SetView(id, userId); } return Ok(result); }