Exemplo n.º 1
0
 public HttpResponseMessage Put(int id, [FromBody] subcardlist value)
 {
     KanbanDB.Entry(value).State = EntityState.Modified;
     return(ToJson(KanbanDB.SaveChanges()));
 }
Exemplo n.º 2
0
 public HttpResponseMessage Post([FromBody] subcardlist value)
 {
     KanbanDB.subcardlist.Add(value);
     return(ToJson(KanbanDB.SaveChanges()));
 }