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