// POST: api/TodoList
 public void Post(Todo todo)
 {
     string owner = ClaimsPrincipal.Current.FindFirst(ClaimTypes.NameIdentifier).Value;            
     todo.Owner = owner;
     db.Todoes.Add(todo);
     db.SaveChanges();            
 }
 public void Put(Todo todo)
 {
     string owner = ClaimsPrincipal.Current.FindFirst(ClaimTypes.NameIdentifier).Value;
     Todo xtodo = db.Todoes.First(a => a.Owner == owner && a.ID == todo.ID);
     if (todo != null)
     {
         xtodo.Description = todo.Description;
         db.SaveChanges();
     }
 }