public async Task<IHttpActionResult> PutAppVersionMetadata(int id, AppVersionMetadata appVersionMetadata)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

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

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostAppVersionMetadata(AppVersionMetadata appVersionMetadata)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.AppVersionMetadatas.Add(appVersionMetadata);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = appVersionMetadata.Id }, appVersionMetadata);
        }