public Task <int> InsertTodoAsync(Todo todo) { var record = new TodoRecord(); record.Name = todo.Name; return(database.InsertAsync(record)); }
public Task <int> InsertTodoRecordAsync(TodoRecord record) { return(database.InsertAsync(record)); }