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