public IHttpActionResult Delete(string id) { bool succeed; using (var reportsService = new ReportsService()) { succeed = reportsService.Delete(id); } return Ok(succeed); }