public async Task<IHttpActionResult> PutBinderResourceLink(int id, BinderResourceLink binderResourceLink)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != binderResourceLink.Id)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostBinderResourceLink(BinderResourceLink binderResourceLink)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.BinderResourceLink.Add(binderResourceLink);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = binderResourceLink.Id }, binderResourceLink);
        }
        // POST: odata/BinderResourceLink
        public async Task<IHttpActionResult> Post(BinderResourceLink binderResourceLink)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.BinderResourceLink.Add(binderResourceLink);
            await db.SaveChangesAsync();

            return Created(binderResourceLink);
        }