public async Task<IHttpActionResult> PutOrganizationIdentityLink(int id, OrganizationIdentityLink organizationIdentityLink)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

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

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostOrganizationIdentityLink(OrganizationIdentityLink organizationIdentityLink)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.OrganizationIdentityLink.Add(organizationIdentityLink);
            await db.SaveChangesAsync();

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

            db.OrganizationIdentityLink.Add(organizationIdentityLink);
            await db.SaveChangesAsync();

            return Created(organizationIdentityLink);
        }