public Task Convert()
        {
            Task task = new Task(Name, Description, Note, Priority, State, Deadline)
            {
                ID = ID, Created = Created, Updated = Updated, Closed = Closed
            };

            task.Activities.AddRange(Activities.Select(x => x.Convert()));
            task.Tags.AddRange(Tags.Select(x => x.Convert()));
            task.Attachments.AddRange(Attachments.Select(x => x.Convert()));
            task.Drawings.AddRange(Drawings.Select(x => x.Convert()));
            task.SubTasks.AddRange(SubTasks.Select(x => x.Convert()));

            return(task);
        }