// PUT api/<controller>/5 public void Put(int id, [FromBody] PlayList playList) { context.Entry(playList).State = System.Data.Entity.EntityState.Modified; context.SaveChanges(); }
// PUT api/<controller>/5 public void Put(int id, [FromBody] KTask task) { context.Entry(task).State = System.Data.Entity.EntityState.Modified; context.SaveChanges(); }
// PUT api/<controller>/5 public void Put(int id, [FromBody] Container container) { context.Entry(container).State = System.Data.Entity.EntityState.Modified; context.SaveChanges(); }