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