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