public async Task<IHttpActionResult> PutGalleryPicture(int id, GalleryPicture galleryPicture)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != galleryPicture.GalleryNo)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }
        public async Task<IHttpActionResult> PostGalleryPicture(GalleryPicture galleryPicture)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.GalleryPictures.Add(galleryPicture);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = galleryPicture.GalleryNo }, galleryPicture);
        }