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

            if (id != technology.Id)
            {
                return BadRequest();
            }

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

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

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

            db.Technologies.Add(technology);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = technology.Id }, technology);
        }