public QuestionAnswere(int ID, Question question, Answere answere, int relevant)
 {
     this.ID = ID;
     this.question = question;
     this.answere = answere;
     this.relevant = relevant;
 }
 // POST /api/Answere
 public HttpResponseMessage Post(Answere answere)
 {
     if (!ModelState.IsValid)
         return new HttpResponseMessage()
         {
             StatusCode = HttpStatusCode.BadRequest,
             Content = new StringContent("Failed to insert data. The model state is invalid: " +
             ModelState.ToString())
         };
     int answereID = new DAAnswere().insert(answere);
     if (answereID == -1)
         return new HttpResponseMessage()
         {
             StatusCode = HttpStatusCode.ExpectationFailed,
             Content = new StringContent("Failed to insert data.")
         };
     var json = new JavaScriptSerializer();
     string data = json.Serialize(answereID);
     return new HttpResponseMessage()
     {
         StatusCode = HttpStatusCode.OK,
         Content = new StringContent(data, Encoding.UTF8, "application/json")
     };
 }