public IHttpActionResult SetAlert(string id, [FromBody]UserAlert userAlert) { UserAlert result; using (var reportsService = new ReportsService()) { result = reportsService.SetAlert(id, userAlert); } return Ok(userAlert); }