public async Task<IHttpActionResult> PutBoardReply(int id, BoardReply galleryReply)
        {
            PetterResultType<BoardReply> petterResultType = new PetterResultType<BoardReply>();
            List<BoardReply> BoardReplies = new List<BoardReply>();

            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            BoardReply BoardReply = await db.BoardReplies.FindAsync(id);
            if (BoardReply == null)
            {
                return NotFound();
            }

            // 수정권한 체크
            if (BoardReply.MemberNo != galleryReply.MemberNo)
            {
                return BadRequest(ModelState);
            }

            BoardReply.Reply = galleryReply.Reply;
            BoardReply.StateFlag = StateFlags.Use;
            BoardReply.DateModified = DateTime.Now;
            db.Entry(BoardReply).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                throw;
            }

            BoardReplies.Add(BoardReply);

            petterResultType.IsSuccessful = true;
            petterResultType.JsonDataSet = BoardReplies;

            return Ok(petterResultType);
        }
        public async Task<IHttpActionResult> PostBoardReply(BoardReply BoardReply)
        {
            PetterResultType<BoardReply> petterResultType = new PetterResultType<BoardReply>();
            List<BoardReply> BoardReplies = new List<BoardReply>();

            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            BoardReply.StateFlag = StateFlags.Use;
            BoardReply.DateCreated = DateTime.Now;
            BoardReply.DateModified = DateTime.Now;

            db.BoardReplies.Add(BoardReply);
            await db.SaveChangesAsync();

            BoardReplies.Add(BoardReply);
            petterResultType.IsSuccessful = true;
            petterResultType.JsonDataSet = BoardReplies;

            return Ok(petterResultType);
        }