コード例 #1
0
        public Task <int> InsertTodoAsync(Todo todo)
        {
            var record = new TodoRecord();

            record.Name = todo.Name;
            return(database.InsertAsync(record));
        }
コード例 #2
0
 public Task <int> InsertTodoRecordAsync(TodoRecord record)
 {
     return(database.InsertAsync(record));
 }