public async Task<IHttpActionResult> PutDIPS_favorite_report(int id, DIPS_favorite_report dIPS_favorite_report)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != dIPS_favorite_report.DIPS_favorite_report_id)
            {
                return BadRequest();
            }

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

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!DIPS_favorite_reportExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostDIPS_favorite_report(DIPS_favorite_report dIPS_favorite_report)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.DIPS_favorite_report.Add(dIPS_favorite_report);
            await db.SaveChangesAsync();

            return CreatedAtRoute("API Default", new { id = dIPS_favorite_report.DIPS_favorite_report_id }, dIPS_favorite_report);
        }