示例#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));
 }