public IHttpActionResult PutMediaRelease(int id, MediaRelease mediaRelease)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != mediaRelease.MediaId)
            {
                return BadRequest();
            }

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

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!MediaReleaseExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }
        public IHttpActionResult PostMediaRelease(MediaRelease mediaRelease)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.MyMediaReleases.Add(mediaRelease);
            db.SaveChanges();

            return CreatedAtRoute("DefaultApi", new { id = mediaRelease.MediaId }, mediaRelease);
        }