public virtual void CopyAttachments(List <PMTask> from, List <WorkOrderTask> to)
 {
     for (int i = 0; i < from.Count; i++)
     {
         _attachmentService.CopyAttachments(from[i].Id, EntityType.PMTask,
                                            to[i].Id, EntityType.WorkOrderTask);
     }
 }