public Task() { Record = new TaskRecord(); }
private Task Activate(TaskRecord record) { var task = new Task { Record = record }; return task; }