// POST api/Divisions
        public HttpResponseMessage PostDivision(Division division)
        {
            if (ModelState.IsValid)
            {
                db.Divisions.Add(division);
                db.SaveChanges();

                HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.Created, division);
                response.Headers.Location = new Uri(Url.Link("DefaultApi", new { id = division.Number }));
                return response;
            }
            else
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest);
            }
        }
        // PUT api/Divisions/5
        public HttpResponseMessage PutDivision(int id, Division division)
        {
            if (ModelState.IsValid && id == division.Number)
            {
                db.Entry(division).State = EntityState.Modified;

                try
                {
                    db.SaveChanges();
                }
                catch (DbUpdateConcurrencyException)
                {
                    return Request.CreateResponse(HttpStatusCode.NotFound);
                }

                return Request.CreateResponse(HttpStatusCode.OK);
            }
            else
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest);
            }
        }