예제 #1
0
        public bool Update(Entity.Todo todo)
        {
            //Nasty isn't it
            Guid id = Add(todo);

            return(true);
        }
예제 #2
0
        public Guid Add(Entity.Todo todo)
        {
            var filename = _protobufDb.Write <Todo>(todo, todo.Id.ToString());

            return(todo.Id);
        }