Example #1
0
        public TodoList CreateList(string title)
        {
            var token = _tokenProvider.GetToken();

            var list = TodoList.Create(token.SubscriptionID, title);

            this.TodoLists.Add(list);

            this.SaveChanges();

            return(list);
        }