public async Task<IHttpActionResult> PostRestoBuild(RestoBuild restoBuild)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.RestoBuilds.Add(restoBuild);

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (RestoBuildExists(restoBuild.ID))
                {
                    return Conflict();
                }
                else
                {
                    throw;
                }
            }

            return CreatedAtRoute("DefaultApi", new { id = restoBuild.ID }, restoBuild);
        }
        public async Task<IHttpActionResult> PutRestoBuild(decimal id, RestoBuild restoBuild)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != restoBuild.ID)
            {
                return BadRequest();
            }

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

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

            return StatusCode(HttpStatusCode.NoContent);
        }