public async Task<IHttpActionResult> PutBinderResourceLinkHistory(long id, BinderResourceLinkHistory binderResourceLinkHistory)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != binderResourceLinkHistory.AuditId)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        // POST: odata/BinderResourceLinkHistory
        public async Task<IHttpActionResult> Post(BinderResourceLinkHistory binderResourceLinkHistory)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.BinderResourceLinkHistory.Add(binderResourceLinkHistory);
            await db.SaveChangesAsync();

            return Created(binderResourceLinkHistory);
        }
        public async Task<IHttpActionResult> PostBinderResourceLinkHistory(BinderResourceLinkHistory binderResourceLinkHistory)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.BinderResourceLinkHistory.Add(binderResourceLinkHistory);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = binderResourceLinkHistory.AuditId }, binderResourceLinkHistory);
        }