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