public async Task<IHttpActionResult> PutConference(long id, Conference conference)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != conference.ConferenceId)
            {
                return BadRequest();
            }

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

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

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

            db.Conferences.Add(conference);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = conference.ConferenceId }, conference);
        }