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

            if (id != BoardStats.BoardStatsNo)
            {
                return BadRequest();
            }

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

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

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

            db.BoardStats.Add(BoardStats);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = BoardStats.BoardStatsNo }, BoardStats);
        }