Example #1
0
 public ActionResult Put(int id, [FromBody] Permissoes value)
 {
     using (var db = new iSoftVendasContext())
     {
         db.Entry(value).State = EntityState.Modified;
         db.SaveChanges();
         return(new ObjectResult("modified successfully!"));
     }
 }