ToDoCategory IToDoRepository <ToDoCategory> .Create() { ToDoCategory myResult = new ToDoCategory() { Title = "Neue Kategorie" }; ToDoCategories.Add(myResult); this.SaveChanges(); return(myResult); }
public void Delete(ToDoCategory myToDoCategory) { ToDoCategories.Remove(myToDoCategory); this.SaveChanges(); }
public void Update(ToDoCategory myToDoCategory) { this.SaveChanges(); }