public ProjectManager(Assignee assignee) { this.AssigneeName = assignee.AssigneeName; Department = new Department(WorkScheduler.Constants.ProjectManagementDepartmentID) { DepartmentName = Enums.Enumerations.Department.ProjectManagement.ToString() }; this.Capacity = assignee.Capacity; this.Id = assignee.Id; }
public Transporter(Assignee assignee) { this.AssigneeName = assignee.AssigneeName; Department = new Department(WorkScheduler.Constants.TransportationDepartmentID) { DepartmentName = Enums.Enumerations.Department.Transportation.ToString() }; this.Capacity = assignee.Capacity; this.Id = assignee.Id; }