public string Post([FromBody] Extracode6 extracode6)
 {
     //Create
     db.Extracode6.Add(extracode6);
     db.SaveChanges();
     return(JsonConvert.SerializeObject(extracode6));
 }
 public string Delete([FromBody] Extracode6 extracode6)
 {
     db.Extracode6.Remove(extracode6);
     db.SaveChanges();
     return(JsonConvert.SerializeObject("Ok"));
 }
 public void Put(int id, [FromBody] Extracode6 extracode6)
 {
     //Update
     db.Extracode6.Update(extracode6);
     db.SaveChanges();
 }