public void Delete(int id)
        {
            var goal = Get(id, false);

            goal.Activities.ToList().ForEach(a => {
                a.TodoItems.ToList().ForEach(t => _todoItemsProvider.Delete(t.Id));
                _acivitiesProvider.Delete(a.Id);
            });

            _goalsProvider.Delete(goal);
            _goalsProvider.Save();
        }
 public void Delete(int todoItemId)
 {
     _todoItemsProvider.Delete(todoItemId);
     _todoItemsProvider.Save();
 }