public async Task<IHttpActionResult> PostReviewPicture(ReviewPicture reviewPicture)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.ReviewPictures.Add(reviewPicture);

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (ReviewPictureExists(reviewPicture.ReviewNo))
                {
                    return Conflict();
                }
                else
                {
                    throw;
                }
            }

            return CreatedAtRoute("DefaultApi", new { id = reviewPicture.ReviewNo }, reviewPicture);
        }
        public async Task<IHttpActionResult> PutReviewPicture(int id, ReviewPicture reviewPicture)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != reviewPicture.ReviewNo)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }