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