public Task(TaskType taskType, string text) { this.taskTypeId = taskType.Id; this.header = taskType.name; this.text = text; }
public TaskType(TaskType t) { id = t.id; name = t.name; }