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