public IHttpActionResult PutPoliceReported(int id, PoliceReported policeReported)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != policeReported.PoliceReportedId)
            {
                return BadRequest();
            }

            db.Entry(policeReported).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!PoliceReportedExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostPoliceReported(PoliceReported policeReported)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.PoliceReporteds.Add(policeReported);
            db.SaveChanges();

            return CreatedAtRoute("DefaultApi", new { id = policeReported.PoliceReportedId }, policeReported);
        }