public void Post([FromBody] Models.Restraint restraint)
        {
            if (restraint.IncidentRestraintId == 0)
            {
                this._db.Restraints.Add(restraint);
            }
            else
            {
            }

            this._db.SaveChanges();
        }
 public void Delete([FromBody] Models.Restraint restraint)
 {
     this._db.Restraints.Attach(restraint);
     this._db.Entry(restraint).State = System.Data.Entity.EntityState.Deleted;
     this._db.SaveChanges();
 }